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.EndpointReferenceType
createAnonymousReference()
static org.apache.cxf.ws.addressing.EndpointReferenceType
createNoneReference()
static org.apache.cxf.ws.addressing.EndpointReferenceType
createReference(String address)
static boolean
equalLongs(Long aval, Long bval)
Utility method to compare two (possibly-null) Long values.static boolean
equalStrings(String aval, String bval)
Utility method to compare two (possibly-null) String values.static org.apache.cxf.ws.addressing.AddressingConstants
getAddressingConstants()
static RMConstants
getConstants(String uri)
Get the constants for a particular WS-ReliableMessaging namespace.static String
getEndpointIdentifier(org.apache.cxf.endpoint.Endpoint endpoint)
static String
getEndpointIdentifier(org.apache.cxf.endpoint.Endpoint endpoint, org.apache.cxf.Bus bus)
static ObjectName
getManagedObjectName(RMEndpoint endpoint)
static ObjectName
getManagedObjectName(RMManager manager)
static ObjectName
getManagedObjectName(RMManager manager, org.apache.cxf.endpoint.Endpoint ep)
static ObjectFactory
getWSRM200502Factory()
Get the factory for WS-ReliableMessaging 1.0 using the standard 200408 WS-Addressing namespace.static ObjectFactory
getWSRM200502WSA200508Factory()
Get the factory for WS-ReliableMessaging 1.0 using the current 200508 WS-Addressing namespace.static ObjectFactory
getWSRMFactory()
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 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
public static org.apache.cxf.ws.addressing.EndpointReferenceType createReference(String address)
-
getEndpointIdentifier
public static String getEndpointIdentifier(org.apache.cxf.endpoint.Endpoint endpoint)
-
getEndpointIdentifier
public static String getEndpointIdentifier(org.apache.cxf.endpoint.Endpoint endpoint, org.apache.cxf.Bus bus)
-
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, org.apache.cxf.endpoint.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:
true
if equal,false
if not
-
-