public class EndpointContextMapMigrator extends Object implements ThreadContextMigrator
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 and Description |
|---|
EndpointContextMapMigrator() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupContext(MessageContext messageContext) |
void |
cleanupThread(MessageContext messageContext) |
void |
migrateContextToThread(MessageContext messageContext) |
void |
migrateThreadToContext(MessageContext messageContext) |
public void migrateContextToThread(MessageContext messageContext) throws AxisFault
migrateContextToThread in interface ThreadContextMigratorAxisFaultpublic void cleanupThread(MessageContext messageContext)
cleanupThread in interface ThreadContextMigratorpublic void migrateThreadToContext(MessageContext messageContext) throws AxisFault
migrateThreadToContext in interface ThreadContextMigratorAxisFaultpublic void cleanupContext(MessageContext messageContext)
cleanupContext in interface ThreadContextMigratorCopyright © 2004–2015 The Apache Software Foundation. All rights reserved.