public final class RMContextUtils extends Object
| Modifier | Constructor and Description | 
|---|---|
protected  | 
RMContextUtils()
Prevents instantiation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
generateUUID()  | 
static ProtocolVariation | 
getProtocolVariation(Message message)  | 
static String | 
getRMPropertiesKey(boolean outbound)  | 
static boolean | 
isRMProtocolMessage(String action)
Checks if the action String belongs to an RM protocol message. 
 | 
static boolean | 
isServerSide(Message message)
Determine if message is currently being processed on server side. 
 | 
static AddressingProperties | 
retrieveMAPs(Message message,
            boolean isProviderContext,
            boolean isOutbound)
Retrieves the addressing properties from the current message. 
 | 
static RMProperties | 
retrieveRMProperties(Message message,
                    boolean outbound)
Retrieve the RM properties from the current message. 
 | 
static void | 
setProtocolVariation(Message message,
                    ProtocolVariation protocol)  | 
static void | 
storeMAPs(AddressingProperties maps,
         Message message,
         boolean isOutbound,
         boolean isRequestor)
Store MAPs in the message. 
 | 
static void | 
storeRMProperties(Message message,
                 RMProperties rmps,
                 boolean outbound)
Store the RM properties in the current message. 
 | 
public static String generateUUID()
public static boolean isServerSide(Message message)
message - the current Messagepublic static boolean isRMProtocolMessage(String action)
action - the actionpublic static RMProperties retrieveRMProperties(Message message, boolean outbound)
message - the current messageoutbound - true if the message direction is outboundpublic static void storeRMProperties(Message message, RMProperties rmps, boolean outbound)
message - the current messagermps - the RM propertiesoutbound - if the message direction is outboundpublic static AddressingProperties retrieveMAPs(Message message, boolean isProviderContext, boolean isOutbound)
message - the current messageisProviderContext - true if the binding provider request context
            available to the client application as opposed to the message
            context visible to handlersisOutbound - true if the message is outboundpublic static void storeMAPs(AddressingProperties maps, Message message, boolean isOutbound, boolean isRequestor)
maps - the MAPs to storemessage - the current messageisOutbound - true if the message is outboundisRequestor - true if the current messaging role is that of
            requestorhandler - true if HANDLER scope, APPLICATION scope otherwisepublic static String getRMPropertiesKey(boolean outbound)
public static ProtocolVariation getProtocolVariation(Message message)
public static void setProtocolVariation(Message message, ProtocolVariation protocol)
Apache CXF