Apache CXF API

org.apache.cxf.ws.rm
Class RMManager

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

public class RMManager
extends Object


Field Summary
static String WSRM_LAST_MESSAGE_PROPERTY
          Message contextual property giving the last message.
static String WSRM_VERSION_PROPERTY
          Message contextual property giving WS-ReliableMessaging namespace.
static String WSRM_WSA_VERSION_PROPERTY
          Message contextual property giving addressing namespace to be used by WS-RM implementation.
 
Constructor Summary
RMManager()
           
 
Method Summary
 void clientCreated(Client client)
           
 void clientDestroyed(Client client)
           
 String getAddressingNamespace(Message message)
          Get the WS-Addressing namespace being used for a message.
 BindingFaultFactory getBindingFaultFactory(Binding binding)
           
 Bus getBus()
           
 DeliveryAssuranceType getDeliveryAssurance()
           
 Destination getDestination(Message message)
           
 DestinationPolicyType getDestinationPolicy()
           
 SequenceIdentifierGenerator getIdGenerator()
           
 RMEndpoint getReliableEndpoint(Message message)
           
 RetransmissionQueue getRetransmissionQueue()
           
 RM10AddressingNamespaceType getRMAddressingNamespace()
           
 RMAssertion getRMAssertion()
           
 String getRMNamespace()
           
 SourceSequence getSequence(Identifier inSeqId, Message message, AddressingProperties maps)
           
 Source getSource(Message message)
           
 SourcePolicyType getSourcePolicy()
           
 RMStore getStore()
           
 Timer getTimer()
           
 void init(Bus b)
           
 void setBus(Bus b)
           
 void setDeliveryAssurance(DeliveryAssuranceType deliveryAssurance)
           
 void setDestinationPolicy(DestinationPolicyType destinationPolicy)
           
 void setIdGenerator(SequenceIdentifierGenerator generator)
           
 void setRetransmissionQueue(RetransmissionQueue rq)
           
 void setRM10AddressingNamespace(RM10AddressingNamespaceType addrns)
           
 void setRMAssertion(RMAssertion rma)
           
 void setRMNamespace(String uri)
           
 void setSourcePolicy(SourcePolicyType sp)
           
 void setStore(RMStore s)
           
 void shutdown()
           
 void startServer(Server server)
           
 void stopServer(Server server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WSRM_VERSION_PROPERTY

public static final String WSRM_VERSION_PROPERTY
Message contextual property giving WS-ReliableMessaging namespace.

See Also:
Constant Field Values

WSRM_WSA_VERSION_PROPERTY

public static final String WSRM_WSA_VERSION_PROPERTY
Message contextual property giving addressing namespace to be used by WS-RM implementation.

See Also:
Constant Field Values

WSRM_LAST_MESSAGE_PROPERTY

public static final String WSRM_LAST_MESSAGE_PROPERTY
Message contextual property giving the last message.

See Also:
Constant Field Values
Constructor Detail

RMManager

public RMManager()
Method Detail

startServer

public void startServer(Server server)

stopServer

public void stopServer(Server server)

clientCreated

public void clientCreated(Client client)

clientDestroyed

public void clientDestroyed(Client client)

getRMNamespace

public String getRMNamespace()

setRMNamespace

public void setRMNamespace(String uri)

getRMAddressingNamespace

public RM10AddressingNamespaceType getRMAddressingNamespace()

setRM10AddressingNamespace

public void setRM10AddressingNamespace(RM10AddressingNamespaceType addrns)

getBus

public Bus getBus()

setBus

public void setBus(Bus b)

getStore

public RMStore getStore()

setStore

public void setStore(RMStore s)

getRetransmissionQueue

public RetransmissionQueue getRetransmissionQueue()

setRetransmissionQueue

public void setRetransmissionQueue(RetransmissionQueue rq)

getIdGenerator

public SequenceIdentifierGenerator getIdGenerator()

setIdGenerator

public void setIdGenerator(SequenceIdentifierGenerator generator)

getTimer

public Timer getTimer()

getBindingFaultFactory

public BindingFaultFactory getBindingFaultFactory(Binding binding)

getDeliveryAssurance

public DeliveryAssuranceType getDeliveryAssurance()
Returns:
Returns the deliveryAssurance.

setDeliveryAssurance

public void setDeliveryAssurance(DeliveryAssuranceType deliveryAssurance)
Parameters:
deliveryAssurance - The deliveryAssurance to set.

getDestinationPolicy

public DestinationPolicyType getDestinationPolicy()
Returns:
Returns the destinationPolicy.

setDestinationPolicy

public void setDestinationPolicy(DestinationPolicyType destinationPolicy)
Parameters:
destinationPolicy - The destinationPolicy to set.

getRMAssertion

public RMAssertion getRMAssertion()
Returns:
Returns the rmAssertion.

setRMAssertion

public void setRMAssertion(RMAssertion rma)
Parameters:
rma - The rmAssertion to set.

getSourcePolicy

public SourcePolicyType getSourcePolicy()
Returns:
Returns the sourcePolicy.

setSourcePolicy

public void setSourcePolicy(SourcePolicyType sp)
Parameters:
sp - The sourcePolicy to set.

getReliableEndpoint

public RMEndpoint getReliableEndpoint(Message message)
                               throws RMException
Throws:
RMException

getAddressingNamespace

public String getAddressingNamespace(Message message)
Get the WS-Addressing namespace being used for a message. If the WS-Addressing namespace has not been set, this returns the default configured for this manager.

Parameters:
message -
Returns:
namespace URI

getDestination

public Destination getDestination(Message message)
                           throws RMException
Throws:
RMException

getSource

public Source getSource(Message message)
                 throws RMException
Throws:
RMException

getSequence

public SourceSequence getSequence(Identifier inSeqId,
                                  Message message,
                                  AddressingProperties maps)
                           throws RMException
Throws:
RMException

shutdown

@PreDestroy
public void shutdown()

init

public void init(Bus b)

Apache CXF API

Apache CXF