Apache CXF API

org.apache.cxf.ws.rm
Class RMUtils

java.lang.Object
  extended by org.apache.cxf.ws.rm.RMUtils

public final class RMUtils
extends Object


Method Summary
static EndpointReferenceType createAnonymousReference()
           
static EndpointReferenceType createNoneReference()
           
static 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 AddressingConstants getAddressingConstants()
           
static RMConstants getConstants(String uri)
          Get the constants for a particular WS-ReliableMessaging namespace.
static String getEndpointIdentifier(Endpoint endpoint)
           
static String getEndpointIdentifier(Endpoint endpoint, Bus bus)
           
static ObjectName getManagedObjectName(RMEndpoint endpoint)
           
static ObjectName getManagedObjectName(RMManager manager)
           
static ObjectName getManagedObjectName(RMManager manager, 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 EndpointReferenceType createAnonymousReference()

createNoneReference

public static EndpointReferenceType createNoneReference()

createReference

public static EndpointReferenceType createReference(String address)

getEndpointIdentifier

public static String getEndpointIdentifier(Endpoint endpoint)

getEndpointIdentifier

public static String getEndpointIdentifier(Endpoint endpoint,
                                           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,
                                              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

equalLongs

public static boolean equalLongs(Long aval,
                                 Long bval)
Utility method to compare two (possibly-null) Long values.

Parameters:
aval -
bval -
Returns:
true if equal, false if not

Apache CXF API

Apache CXF