Class EndpointContextMapMigrator
- java.lang.Object
-
- org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator
-
- All Implemented Interfaces:
org.apache.axis2.util.ThreadContextMigrator
public class EndpointContextMapMigrator extends Object implements org.apache.axis2.util.ThreadContextMigrator
This class will enable the JAX-WS 2.1 API methods to create instances ofEndpointReferencethat target a particular web service endpoint, identified by specifying the WSDL service name and port name of the endpoint, to work correctly. This is achieved by enabling the implementation ofAxis2EndpointReferenceFactoryto retrieve the context it needs from the invoking thread. The instances ofEndpointReferencethat it produces can then converted to instances ofEndpointReference, as needed.
-
-
Constructor Summary
Constructors Constructor Description EndpointContextMapMigrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanupContext(org.apache.axis2.context.MessageContext messageContext)voidcleanupThread(org.apache.axis2.context.MessageContext messageContext)voidmigrateContextToThread(org.apache.axis2.context.MessageContext messageContext)voidmigrateThreadToContext(org.apache.axis2.context.MessageContext messageContext)
-
-
-
Method Detail
-
migrateContextToThread
public void migrateContextToThread(org.apache.axis2.context.MessageContext messageContext) throws org.apache.axis2.AxisFault- Specified by:
migrateContextToThreadin interfaceorg.apache.axis2.util.ThreadContextMigrator- Throws:
org.apache.axis2.AxisFault
-
cleanupThread
public void cleanupThread(org.apache.axis2.context.MessageContext messageContext)
- Specified by:
cleanupThreadin interfaceorg.apache.axis2.util.ThreadContextMigrator
-
migrateThreadToContext
public void migrateThreadToContext(org.apache.axis2.context.MessageContext messageContext) throws org.apache.axis2.AxisFault- Specified by:
migrateThreadToContextin interfaceorg.apache.axis2.util.ThreadContextMigrator- Throws:
org.apache.axis2.AxisFault
-
cleanupContext
public void cleanupContext(org.apache.axis2.context.MessageContext messageContext)
- Specified by:
cleanupContextin interfaceorg.apache.axis2.util.ThreadContextMigrator
-
-