Interface ApplicationContextMigrator
-
- All Known Implementing Classes:
PropertyMigrator
public interface ApplicationContextMigrator
The ContextPropertyMigrator is a utility interface that can be implemented to handle any transformation or migration that needs to happen between the internal JAX-WS MessageContext for a request or a response and the associated context for the client or the server. client - On the client side, this will be called with the request or response context from the BindingProvider instance. server - On the server side, this will be called with the javax.xml.ws.handler.MessageContext instance that the service endpoint will see. This is the same context that will be injected
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
migratePropertiesToMessageContext
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.- Parameters:
userContext
- - The source context that contains the user context properties.messageContext
- - The target MessageContext to receive the properties.
-
migratePropertiesFromMessageContext
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.- Parameters:
userContext
- - The target user context to receive the properties.messageContext
- - The source MessageContext that contains the property values.
-
-