Apache CXF API

org.apache.cxf.ws.rm
Class ManagedRMEndpoint

java.lang.Object
  extended by org.apache.cxf.ws.rm.ManagedRMEndpoint
All Implemented Interfaces:
ManagedComponent

@ManagedResource(componentName="RMEndpoint",
                 description="Responsible for Sources and Destinations.")
public class ManagedRMEndpoint
extends Object
implements ManagedComponent

The ManagedRMEndpoint is a JMX managed bean for RMEndpoint.


Constructor Summary
ManagedRMEndpoint(RMEndpoint endpoint)
           
 
Method Summary
 String getAddress()
           
 CompositeData getCurrentSourceSequence()
           
 String getCurrentSourceSequenceId()
           
 int getDeferredAcknowledgementCount(String sid)
           
 int getDeferredAcknowledgementTotalCount()
           
 CompositeData getDestinationSequence(String sid)
           
 Long[] getDestinationSequenceAcknowledgedRange(String sid)
           
 String[] getDestinationSequenceIds()
           
 CompositeData[] getDestinationSequences()
           
 Date getLastApplicationMessage()
           
 Date getLastControlMessage()
           
 ObjectName getObjectName()
           
 int getQueuedMessageCount(String sid)
           
 int getQueuedMessageTotalCount()
           
 CompositeData getRetransmissionStatus(String sid, long num)
           
 CompositeData[] getRetransmissionStatuses(String sid)
           
 CompositeData getSourceSequence(String sid)
           
 Long[] getSourceSequenceAcknowledgedRange(String sid)
           
 String[] getSourceSequenceIds(boolean expired)
           
 CompositeData[] getSourceSequences(boolean expired)
           
 Long[] getUnAcknowledgedMessageIdentifiers(String sid)
           
 void resumeSourceQueue(String sid)
           
 void suspendSourceQueue(String sid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedRMEndpoint

public ManagedRMEndpoint(RMEndpoint endpoint)
Method Detail

getObjectName

public ObjectName getObjectName()
                         throws JMException
Specified by:
getObjectName in interface ManagedComponent
Throws:
JMException

getQueuedMessageTotalCount

@ManagedOperation(description="Total Number of Queued Messages")
public int getQueuedMessageTotalCount()

getQueuedMessageCount

@ManagedOperation(description="Number of Queued Messages")
@ManagedOperationParameters(value=)
public int getQueuedMessageCount(String sid)

getUnAcknowledgedMessageIdentifiers

@ManagedOperation(description="List of UnAcknowledged Message Numbers")
@ManagedOperationParameters(value=)
public Long[] getUnAcknowledgedMessageIdentifiers(String sid)

getDeferredAcknowledgementTotalCount

@ManagedOperation(description="Total Number of Deferred Acknowledgements")
public int getDeferredAcknowledgementTotalCount()

getDeferredAcknowledgementCount

@ManagedOperation(description="Number of Deferred Acknowledgements")
@ManagedOperationParameters(value=)
public int getDeferredAcknowledgementCount(String sid)

getSourceSequenceAcknowledgedRange

@ManagedOperation(description="Source Sequence Acknowledged Range")
@ManagedOperationParameters(value=)
public Long[] getSourceSequenceAcknowledgedRange(String sid)

getDestinationSequenceAcknowledgedRange

@ManagedOperation(description="Destination Sequence Acknowledged Range")
@ManagedOperationParameters(value=)
public Long[] getDestinationSequenceAcknowledgedRange(String sid)

getRetransmissionStatus

@ManagedOperation(description="Retransmission Status")
@ManagedOperationParameters(value={,})
public CompositeData getRetransmissionStatus(String sid,
                                                                                                         long num)
                                      throws JMException
Throws:
JMException

getRetransmissionStatuses

@ManagedOperation(description="Retransmission Statuses")
@ManagedOperationParameters(value=)
public CompositeData[] getRetransmissionStatuses(String sid)
                                          throws JMException
Throws:
JMException

getSourceSequenceIds

@ManagedOperation(description="List of Source Sequence IDs")
@ManagedOperationParameters(value=)
public String[] getSourceSequenceIds(boolean expired)

getDestinationSequenceIds

@ManagedOperation(description="List of Destination Sequence IDs")
public String[] getDestinationSequenceIds()

suspendSourceQueue

@ManagedOperation(description="Suspend Retransmission Queue")
@ManagedOperationParameters(value=)
public void suspendSourceQueue(String sid)
                        throws JMException
Throws:
JMException

resumeSourceQueue

@ManagedOperation(description="Resume Retransmission Queue")
@ManagedOperationParameters(value=)
public void resumeSourceQueue(String sid)
                       throws JMException
Throws:
JMException

getCurrentSourceSequence

@ManagedOperation(description="Current Source Sequence Properties")
public CompositeData getCurrentSourceSequence()
                                       throws JMException
Throws:
JMException

getCurrentSourceSequenceId

@ManagedOperation(description="Current Source Sequence Identifier")
public String getCurrentSourceSequenceId()
                                  throws JMException
Throws:
JMException

getSourceSequence

@ManagedOperation(description="Source Sequence Properties")
@ManagedOperationParameters(value=)
public CompositeData getSourceSequence(String sid)
                                throws JMException
Throws:
JMException

getSourceSequences

@ManagedOperation(description="Source Sequences Properties")
@ManagedOperationParameters(value=)
public CompositeData[] getSourceSequences(boolean expired)
                                   throws JMException
Throws:
JMException

getDestinationSequence

@ManagedOperation(description="Destination Sequence Properties")
@ManagedOperationParameters(value=)
public CompositeData getDestinationSequence(String sid)
                                     throws JMException
Throws:
JMException

getDestinationSequences

@ManagedOperation(description="Destination Sequences Properties")
public CompositeData[] getDestinationSequences()
                                        throws JMException
Throws:
JMException

getAddress

@ManagedAttribute(description="Address Attribute",
                  currencyTimeLimit=60)
public String getAddress()

getLastApplicationMessage

@ManagedAttribute(description="Application Message Last Received",
                  currencyTimeLimit=60)
public Date getLastApplicationMessage()

getLastControlMessage

@ManagedAttribute(description="Protocol Message Last Received",
                  currencyTimeLimit=60)
public Date getLastControlMessage()

Apache CXF API

Apache CXF