| java.lang.Object org.apache.cxf.ws.rm.RMContextUtils
RMContextUtils | final public class RMContextUtils (Code) | | Holder for utility methods relating to contexts.
|
Constructor Summary | |
protected | RMContextUtils() Prevents instantiation. |
Method Summary | |
public static void | ensureExposedVersion(AddressingProperties maps) Ensures the appropriate version of WS-Addressing is used. | public static String | generateUUID() | public static String | getRMPropertiesKey(boolean outbound) | public static boolean | isRMProtocolMessage(String action) Checks if the action String belongs to an RM protocol message. | public static boolean | isServerSide(Message message) Determine if message is currently being processed on server side. | public static AddressingPropertiesImpl | retrieveMAPs(Message message, boolean isProviderContext, boolean isOutbound) Retrieves the addressing properties from the current message. | public static RMProperties | retrieveRMProperties(Message message, boolean outbound) Retrieve the RM properties from the current message. | public static void | storeMAPs(AddressingProperties maps, Message message, boolean isOutbound, boolean isRequestor) Store MAPs in the message. | public static void | storeRMProperties(Message message, RMProperties rmps, boolean outbound) Store the RM properties in the current message. |
RMContextUtils | protected RMContextUtils()(Code) | | Prevents instantiation.
|
ensureExposedVersion | public static void ensureExposedVersion(AddressingProperties maps)(Code) | | Ensures the appropriate version of WS-Addressing is used.
Parameters: maps - the addressing properties |
generateUUID | public static String generateUUID()(Code) | | a generated UUID |
getRMPropertiesKey | public static String getRMPropertiesKey(boolean outbound)(Code) | | |
isRMProtocolMessage | public static boolean isRMProtocolMessage(String action)(Code) | | Checks if the action String belongs to an RM protocol message.
Parameters: action - the action true iff the action is not one of the RM protocol actions. |
isServerSide | public static boolean isServerSide(Message message)(Code) | | Determine if message is currently being processed on server side.
Parameters: message - the current Message true iff message is currently being processed on server side |
retrieveMAPs | public static AddressingPropertiesImpl retrieveMAPs(Message message, boolean isProviderContext, boolean isOutbound)(Code) | | Retrieves the addressing properties from the current message.
Parameters: message - the current message Parameters: isProviderContext - true if the binding provider request contextavailable to the client application as opposed to the messagecontext visible to handlers Parameters: isOutbound - true iff the message is outbound the current addressing properties |
retrieveRMProperties | public static RMProperties retrieveRMProperties(Message message, boolean outbound)(Code) | | Retrieve the RM properties from the current message.
Parameters: message - the current message Parameters: outbound - true iff the message direction is outbound the RM properties |
storeMAPs | public static void storeMAPs(AddressingProperties maps, Message message, boolean isOutbound, boolean isRequestor)(Code) | | Store MAPs in the message.
Parameters: maps - the MAPs to store Parameters: message - the current message Parameters: isOutbound - true iff the message is outbound Parameters: isRequestor - true iff the current messaging role is that ofrequestor Parameters: handler - true if HANDLER scope, APPLICATION scope otherwise |
storeRMProperties | public static void storeRMProperties(Message message, RMProperties rmps, boolean outbound)(Code) | | Store the RM properties in the current message.
Parameters: message - the current message Parameters: rmps - the RM properties Parameters: outbound - iff the message direction is outbound |
|
|