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:
  • Constructor Details

    • PropertyMigrator

      public PropertyMigrator()
  • Method Details

    • 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 interface ApplicationContextMigrator
      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 interface ApplicationContextMigrator
      Parameters:
      userContext - - The source context that contains the user context properties.
      messageContext - - The target MessageContext to receive the properties.