Package org.apache.cxf.ws.rm
Class RMUtils
- java.lang.Object
-
- org.apache.cxf.ws.rm.RMUtils
-
public final class RMUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.cxf.ws.addressing.EndpointReferenceTypecreateAnonymousReference()static org.apache.cxf.ws.addressing.EndpointReferenceTypecreateNoneReference()static 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 AddressingConstantsgetAddressingConstants()static RMConstantsgetConstants(String uri)Get the constants for a particular WS-ReliableMessaging namespace.static StringgetEndpointIdentifier(Endpoint endpoint)static StringgetEndpointIdentifier(Endpoint endpoint, Bus bus)static ObjectNamegetManagedObjectName(RMEndpoint endpoint)static ObjectNamegetManagedObjectName(RMManager manager)static ObjectNamegetManagedObjectName(RMManager manager, Endpoint ep)static ObjectFactorygetWSRM200502Factory()Get the factory for WS-ReliableMessaging 1.0 using the standard 200408 WS-Addressing namespace.static ObjectFactorygetWSRM200502WSA200508Factory()Get the factory for WS-ReliableMessaging 1.0 using the current 200508 WS-Addressing namespace.static ObjectFactorygetWSRMFactory()Get the factory for the internal representation of WS-RM data (WS-ReliableMessaging 1.1).
-
-
-
Method Detail
-
getWSRMFactory
public static ObjectFactory getWSRMFactory()
Get the factory for the internal representation of WS-RM data (WS-ReliableMessaging 1.1).- Returns:
- factory
-
getWSRM200502Factory
public static ObjectFactory getWSRM200502Factory()
Get the factory for WS-ReliableMessaging 1.0 using the standard 200408 WS-Addressing namespace.- Returns:
- factory
-
getWSRM200502WSA200508Factory
public static ObjectFactory getWSRM200502WSA200508Factory()
Get the factory for WS-ReliableMessaging 1.0 using the current 200508 WS-Addressing namespace.- Returns:
- factory
-
getConstants
public static RMConstants getConstants(String uri)
Get the constants for a particular WS-ReliableMessaging namespace.- Parameters:
uri-- Returns:
- constants
-
getAddressingConstants
public static AddressingConstants getAddressingConstants()
-
createAnonymousReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType createAnonymousReference()
-
createNoneReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType createNoneReference()
-
createReference
public static org.apache.cxf.ws.addressing.EndpointReferenceType createReference(String address)
-
getManagedObjectName
public static ObjectName getManagedObjectName(RMManager manager) throws JMException
- Throws:
JMException
-
getManagedObjectName
public static ObjectName getManagedObjectName(RMEndpoint endpoint) throws JMException
- Throws:
JMException
-
getManagedObjectName
public static ObjectName getManagedObjectName(RMManager manager, Endpoint ep) throws JMException
- Throws:
JMException
-
equalStrings
public static boolean equalStrings(String aval, String bval)
Utility method to compare two (possibly-null) String values.- Parameters:
aval-bval-- Returns:
trueif equal,falseif not
-
-