Class MetroClientTubelineAssemblyContextImpl
- java.lang.Object
-
- com.sun.xml.ws.assembler.TubelineAssemblyContextImpl
-
- com.sun.xml.ws.assembler.metro.impl.MetroClientTubelineAssemblyContextImpl
-
- All Implemented Interfaces:
ClientTubelineAssemblyContext,TubelineAssemblyContext,MetroClientTubelineAssemblyContext
public class MetroClientTubelineAssemblyContextImpl extends TubelineAssemblyContextImpl implements MetroClientTubelineAssemblyContext
- Author:
- Marek Potociar (marek.potociar at sun.com)
-
-
Constructor Summary
Constructors Constructor Description MetroClientTubelineAssemblyContextImpl(ClientTubeAssemblerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointAddressgetAddress()The endpoint address.WSBindinggetBinding()The binding of the new pipeline to be created.CodecgetCodec()Gets theCodecthat is set bysetCodec(com.sun.xml.ws.api.pipe.Codec)or the default codec based on the binding.ContainergetContainer()Returns the Container in which the client is runningPolicyMapgetPolicyMap()WSPortInfogetPortInfo()SecureConversationInitiatorgetScInitiator()SEIModelgetSEIModel()The created pipeline will use seiModel to get java concepts for the endpointWSServicegetService()The pipeline is created for thisWSService.ClientTubeAssemblerContextgetWrappedContext()WSDLPortgetWsdlPort()The created pipeline will be used to serve this port.booleanisPolicyAvailable()voidsetCodec(Codec codec)voidsetScInitiator(SecureConversationInitiator initiator)-
Methods inherited from class com.sun.xml.ws.assembler.TubelineAssemblyContextImpl
getAdaptedTubelineHead, getImplementation, getTubelineHead, setTubelineHead
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.ws.assembler.dev.TubelineAssemblyContext
getAdaptedTubelineHead, getImplementation, getTubelineHead
-
-
-
-
Constructor Detail
-
MetroClientTubelineAssemblyContextImpl
public MetroClientTubelineAssemblyContextImpl(@NotNull ClientTubeAssemblerContext context)
-
-
Method Detail
-
getPolicyMap
public PolicyMap getPolicyMap()
- Specified by:
getPolicyMapin interfaceClientTubelineAssemblyContext
-
isPolicyAvailable
public boolean isPolicyAvailable()
- Specified by:
isPolicyAvailablein interfaceClientTubelineAssemblyContext
-
getWsdlPort
public WSDLPort getWsdlPort()
The created pipeline will be used to serve this port. Null if the service isn't associated with any port definition in WSDL, and otherwise non-null. ReplacesClientTubeAssemblerContext.getWsdlModel()- Specified by:
getWsdlPortin interfaceClientTubelineAssemblyContext
-
getPortInfo
public WSPortInfo getPortInfo()
- Specified by:
getPortInfoin interfaceClientTubelineAssemblyContext
-
getAddress
@NotNull public EndpointAddress getAddress()
The endpoint address. Always non-null. This parameter is taken separately fromWSDLPort(even though there'sWSDLPort.getAddress()) because sometimes WSDL is not available.- Specified by:
getAddressin interfaceClientTubelineAssemblyContext
-
getService
@NotNull public WSService getService()
The pipeline is created for thisWSService. Always non-null. (To be precise, the newly created pipeline is owned by a proxy or a dispatch created from thisWSService.)- Specified by:
getServicein interfaceClientTubelineAssemblyContext
-
getBinding
@NotNull public WSBinding getBinding()
The binding of the new pipeline to be created.- Specified by:
getBindingin interfaceClientTubelineAssemblyContext
-
getSEIModel
@Nullable public SEIModel getSEIModel()
The created pipeline will use seiModel to get java concepts for the endpoint- Specified by:
getSEIModelin interfaceClientTubelineAssemblyContext- Returns:
- Null if the service doesn't have SEI model e.g. Dispatch, and otherwise non-null.
-
getContainer
public Container getContainer()
Returns the Container in which the client is running- Specified by:
getContainerin interfaceClientTubelineAssemblyContext- Returns:
- Container in which client is running
-
getCodec
@NotNull public Codec getCodec()
Gets theCodecthat is set bysetCodec(com.sun.xml.ws.api.pipe.Codec)or the default codec based on the binding.- Specified by:
getCodecin interfaceClientTubelineAssemblyContext- Returns:
- codec to be used for web service requests
-
setCodec
public void setCodec(@NotNull Codec codec)Interception point to changeCodecduringTubeline 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.- Specified by:
setCodecin interfaceClientTubelineAssemblyContext- Parameters:
codec- codec to be used for web service requests
-
getWrappedContext
public ClientTubeAssemblerContext getWrappedContext()
- Specified by:
getWrappedContextin interfaceClientTubelineAssemblyContext
-
getScInitiator
public SecureConversationInitiator getScInitiator()
- Specified by:
getScInitiatorin interfaceMetroClientTubelineAssemblyContext
-
setScInitiator
public void setScInitiator(SecureConversationInitiator initiator)
- Specified by:
setScInitiatorin interfaceMetroClientTubelineAssemblyContext
-
-