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 of
EndpointReference that 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 of
Axis2EndpointReferenceFactory
to retrieve the context it needs from the invoking thread. The instances of
EndpointReference that it produces can
then converted to instances of EndpointReference, as
needed.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanupContext(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)
-
Constructor Details
-
EndpointContextMapMigrator
public EndpointContextMapMigrator()
-
-
Method Details
-
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
-