org.apache.axis2.jaxws.addressing.migrator
Class EndpointContextMapMigrator
java.lang.Object
org.apache.axis2.jaxws.addressing.migrator.EndpointContextMapMigrator
- All Implemented Interfaces:
- ThreadContextMigrator
public class EndpointContextMapMigrator
- extends java.lang.Object
- implements 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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointContextMapMigrator
public EndpointContextMapMigrator()
migrateContextToThread
public void migrateContextToThread(MessageContext messageContext)
throws AxisFault
- Specified by:
migrateContextToThread in interface ThreadContextMigrator
- Throws:
AxisFault
cleanupThread
public void cleanupThread(MessageContext messageContext)
- Specified by:
cleanupThread in interface ThreadContextMigrator
migrateThreadToContext
public void migrateThreadToContext(MessageContext messageContext)
throws AxisFault
- Specified by:
migrateThreadToContext in interface ThreadContextMigrator
- Throws:
AxisFault
cleanupContext
public void cleanupContext(MessageContext messageContext)
- Specified by:
cleanupContext in interface ThreadContextMigrator
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.