|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.xml.ws.api.pipe.ClientTubeAssemblerContext
public class ClientTubeAssemblerContext
Factory for well-known Tube
implementations
that the TubelineAssembler
needs to use
to satisfy JAX-WS requirements.
Constructor Summary | |
---|---|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding)
|
|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding,
Container container)
|
|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding,
Container container,
Codec codec)
|
|
ClientTubeAssemblerContext(EndpointAddress address,
WSDLPort wsdlModel,
WSService rootOwner,
WSBinding binding,
Container container,
Codec codec,
SEIModel seiModel)
|
Method Summary | |
---|---|
Tube |
createClientMUTube(Tube next)
Creates a Tube that performs SOAP mustUnderstand processing. |
Tube |
createDumpTube(String name,
PrintStream out,
Tube next)
creates a Tube that dumps messages that pass through. |
Tube |
createHandlerTube(Tube next)
Creates a Tube that invokes protocol and logical handlers. |
Tube |
createSecurityTube(Tube next)
Creates a Tube that adds container specific security |
Tube |
createTransportTube()
Creates a transport pipe (for client), which becomes the terminal pipe. |
Tube |
createValidationTube(Tube next)
creates a Tube that validates messages against schema |
Tube |
createWsaTube(Tube next)
Creates a Tube that invokes protocol and logical handlers. |
EndpointAddress |
getAddress()
The endpoint address. |
WSBinding |
getBinding()
The binding of the new pipeline to be created. |
Codec |
getCodec()
Gets the Codec that is set by setCodec(com.sun.xml.ws.api.pipe.Codec) or the default codec
based on the binding. |
Container |
getContainer()
Returns the Container in which the client is running |
SEIModel |
getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpoint |
WSService |
getService()
The pipeline is created for this WSService . |
WSDLPort |
getWsdlModel()
The created pipeline will be used to serve this port. |
void |
setCodec(Codec codec)
Interception point to change Codec during Tube line assembly. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding)
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container)
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec)
public ClientTubeAssemblerContext(@NotNull EndpointAddress address, @Nullable WSDLPort wsdlModel, @NotNull WSService rootOwner, @NotNull WSBinding binding, @NotNull Container container, Codec codec, SEIModel seiModel)
Method Detail |
---|
@NotNull public EndpointAddress getAddress()
WSDLPort
(even though there's WSDLPort.getAddress()
)
because sometimes WSDL is not available.
@Nullable public WSDLPort getWsdlModel()
@NotNull public WSService getService()
WSService
.
Always non-null. (To be precise, the newly created pipeline
is owned by a proxy or a dispatch created from thsi WSService
.)
@NotNull public WSBinding getBinding()
@Nullable public SEIModel getSEIModel()
public Container getContainer()
public Tube createDumpTube(String name, PrintStream out, Tube next)
Tube
that dumps messages that pass through.
@NotNull public Tube createSecurityTube(@NotNull Tube next)
Tube
that adds container specific security
public Tube createWsaTube(Tube next)
Tube
that invokes protocol and logical handlers.
public Tube createHandlerTube(Tube next)
Tube
that invokes protocol and logical handlers.
public Tube createClientMUTube(Tube next)
Tube
that performs SOAP mustUnderstand processing.
This pipe should be before HandlerPipes.
public Tube createValidationTube(Tube next)
Tube
that validates messages against schema
public Tube createTransportTube()
@NotNull public Codec getCodec()
Codec
that is set by setCodec(com.sun.xml.ws.api.pipe.Codec)
or the default codec
based on the binding.
public void setCodec(@NotNull Codec codec)
Codec
during Tube
line assembly. The
new codec will be used by jax-ws client runtime for encoding/decoding web service
request/response messages. The new codec should be used by the transport tubes.
the codec should correctly implement Codec.copy()
since it is used while
serving requests concurrently.
codec
- codec to be used for web service requests
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |