public class EndpointContextMapMigrator extends Object implements org.apache.axis2.util.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(org.apache.axis2.context.MessageContext messageContext) |
void |
cleanupThread(org.apache.axis2.context.MessageContext messageContext) |
void |
migrateContextToThread(org.apache.axis2.context.MessageContext messageContext) |
void |
migrateThreadToContext(org.apache.axis2.context.MessageContext messageContext) |
public void migrateContextToThread(org.apache.axis2.context.MessageContext messageContext)
throws org.apache.axis2.AxisFault
migrateContextToThread in interface org.apache.axis2.util.ThreadContextMigratororg.apache.axis2.AxisFaultpublic void cleanupThread(org.apache.axis2.context.MessageContext messageContext)
cleanupThread in interface org.apache.axis2.util.ThreadContextMigratorpublic void migrateThreadToContext(org.apache.axis2.context.MessageContext messageContext)
throws org.apache.axis2.AxisFault
migrateThreadToContext in interface org.apache.axis2.util.ThreadContextMigratororg.apache.axis2.AxisFaultpublic void cleanupContext(org.apache.axis2.context.MessageContext messageContext)
cleanupContext in interface org.apache.axis2.util.ThreadContextMigratorCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.