Package org.apache.cxf.ws.rm
Class RMUtils
java.lang.Object
org.apache.cxf.ws.rm.RMUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.cxf.ws.addressing.EndpointReferenceTypestatic org.apache.cxf.ws.addressing.EndpointReferenceTypestatic org.apache.cxf.ws.addressing.EndpointReferenceTypecreateReference(String address) static booleanequalLongs(Long aval, Long bval) Utility method to compare two (possibly-null) Long values.static booleanequalStrings(String aval, String bval) Utility method to compare two (possibly-null) String values.static org.apache.cxf.ws.addressing.AddressingConstantsstatic RMConstantsgetConstants(String uri) Get the constants for a particular WS-ReliableMessaging namespace.static StringgetEndpointIdentifier(org.apache.cxf.endpoint.Endpoint endpoint) static StringgetEndpointIdentifier(org.apache.cxf.endpoint.Endpoint endpoint, org.apache.cxf.Bus bus) static ObjectNamegetManagedObjectName(RMEndpoint endpoint) static ObjectNamegetManagedObjectName(RMManager manager) static ObjectNamegetManagedObjectName(RMManager manager, org.apache.cxf.endpoint.Endpoint ep) static ObjectFactoryGet the factory for WS-ReliableMessaging 1.0 using the standard 200408 WS-Addressing namespace.static ObjectFactoryGet the factory for WS-ReliableMessaging 1.0 using the current 200508 WS-Addressing namespace.static ObjectFactoryGet the factory for the internal representation of WS-RM data (WS-ReliableMessaging 1.1).
-
Method Details
-
getWSRMFactory
Get the factory for the internal representation of WS-RM data (WS-ReliableMessaging 1.1).- Returns:
- factory
-
getWSRM200502Factory
Get the factory for WS-ReliableMessaging 1.0 using the standard 200408 WS-Addressing namespace.- Returns:
- factory
-
getWSRM200502WSA200508Factory
Get the factory for WS-ReliableMessaging 1.0 using the current 200508 WS-Addressing namespace.- Returns:
- factory
-
getConstants
Get the constants for a particular WS-ReliableMessaging namespace.- Parameters:
uri-- Returns:
- constants
-
getAddressingConstants
public static org.apache.cxf.ws.addressing.AddressingConstants getAddressingConstants() -
createAnonymousReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType createAnonymousReference() -
createNoneReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType createNoneReference() -
createReference
-
getEndpointIdentifier
-
getEndpointIdentifier
public static String getEndpointIdentifier(org.apache.cxf.endpoint.Endpoint endpoint, org.apache.cxf.Bus bus) -
getManagedObjectName
- Throws:
JMException
-
getManagedObjectName
- Throws:
JMException
-
getManagedObjectName
public static ObjectName getManagedObjectName(RMManager manager, org.apache.cxf.endpoint.Endpoint ep) throws JMException - Throws:
JMException
-
equalStrings
Utility method to compare two (possibly-null) String values.- Parameters:
aval-bval-- Returns:
trueif equal,falseif not
-
equalLongs
Utility method to compare two (possibly-null) Long values.- Parameters:
aval-bval-- Returns:
trueif equal,falseif not
-