com.sun.xml.ws.util.pipe
Class StandaloneTubeAssembler
java.lang.Object
com.sun.xml.ws.util.pipe.StandaloneTubeAssembler
- All Implemented Interfaces:
- TubelineAssembler
public class StandaloneTubeAssembler
- extends java.lang.Object
- implements TubelineAssembler
Default Pipeline assembler for JAX-WS client and server side runtimes. It
assembles various pipes into a pipeline that a message needs to be passed
through.
Field Summary |
static boolean |
dump
Are we going to dump the message to System.out? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dump
public static final boolean dump
- Are we going to dump the message to System.out?
StandaloneTubeAssembler
public StandaloneTubeAssembler()
createClient
@NotNull
public Tube createClient(ClientTubeAssemblerContext context)
- Description copied from interface:
TubelineAssembler
- Creates a new tubeline for clients.
When a JAX-WS client creates a proxy or a Dispatch
from
a Service
, JAX-WS runtime internally uses this method
to create a new tubeline as a part of the initilization.
- Specified by:
createClient
in interface TubelineAssembler
- Parameters:
context
- Object that captures various contextual information
that can be used to determine the tubeline to be assembled.
- Returns:
- non-null freshly created tubeline.
createServer
public Tube createServer(ServerTubeAssemblerContext context)
- On Server-side, HandlerChains cannot be changed after it is deployed.
During assembling the Pipelines, we can decide if we really need a
SOAPHandlerPipe and LogicalHandlerPipe for a particular Endpoint.
- Specified by:
createServer
in interface TubelineAssembler
- Parameters:
context
- Object that captures various contextual information
that can be used to determine the tubeline to be assembled.
- Returns:
- non-null freshly created tubeline.
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.