org.apache.axis2.jaxws.client
Class PropertyMigrator

java.lang.Object
  extended by 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
PropertyMigrator()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyMigrator

public PropertyMigrator()
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 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.


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.