Package org.apache.axis2.jaxws.client
Class PropertyMigrator
- java.lang.Object
-
- org.apache.axis2.jaxws.client.PropertyMigrator
-
- All Implemented Interfaces:
Serializable
,ApplicationContextMigrator
public class PropertyMigrator extends Object implements ApplicationContextMigrator, Serializable
The PropertyMigrator implements the ApplicationContextMigrator in order to perform the necessary manipulations of properties during a request or response flow.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyMigrator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
migratePropertiesFromMessageContext(Map<String,Object> userContext, MessageContext messageContext)
Is called to handle property migratom FROM the internal org.apache.axis2.jaxws.core.MessageContext TO a target user context (BindingProvider client context or server MessageContext) that the user will access.void
migratePropertiesToMessageContext(Map<String,Object> userContext, MessageContext messageContext)
Is called to handle property migration FROM the user context (BindingProvider client context or server MessageContext) TO a target internal org.apache.axis2.jaxws.core.MessageContext.
-
-
-
Method Detail
-
migratePropertiesFromMessageContext
public void migratePropertiesFromMessageContext(Map<String,Object> userContext, MessageContext messageContext)
Description copied from interface:ApplicationContextMigrator
Is called to handle property migratom FROM the internal org.apache.axis2.jaxws.core.MessageContext TO a target user context (BindingProvider client context or server MessageContext) that the user will access.- Specified by:
migratePropertiesFromMessageContext
in interfaceApplicationContextMigrator
- Parameters:
userContext
- - The target user context to receive the properties.messageContext
- - The source MessageContext that contains the property values.
-
migratePropertiesToMessageContext
public void migratePropertiesToMessageContext(Map<String,Object> userContext, MessageContext messageContext)
Description copied from interface:ApplicationContextMigrator
Is called to handle property migration FROM the user context (BindingProvider client context or server MessageContext) TO a target internal org.apache.axis2.jaxws.core.MessageContext.- Specified by:
migratePropertiesToMessageContext
in interfaceApplicationContextMigrator
- Parameters:
userContext
- - The source context that contains the user context properties.messageContext
- - The target MessageContext to receive the properties.
-
-