org.apache.axis2.jaxws.client
Class PropertyMigrator

java.lang.Object
  extended by org.apache.axis2.jaxws.client.PropertyMigrator
All Implemented Interfaces:
java.io.Serializable, ApplicationContextMigrator

public class PropertyMigrator
extends java.lang.Object
implements ApplicationContextMigrator, java.io.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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 © 2007 Apache Web Services Project. All Rights Reserved.