org.objectweb.jonas_jms
Interface JmsJmxManagement

All Known Implementing Classes:
JmsManagerImpl

public interface JmsJmxManagement

JMS Administration interface to be implemented for each jms provider.


Method Summary
 java.lang.String getConnectionFactoryMode(java.lang.String jndiName)
          Get the messaging mode a connection factory belongs to
 int getCurrentNumberOfJmsConnectionFactory()
          Management method
 int getCurrentNumberOfJmsQueueConnectionFactory()
          Management method
 int getCurrentNumberOfJmsQueueDestination()
          Management method
 int getCurrentNumberOfJmsTopicConnectionFactory()
          Management method
 int getCurrentNumberOfJmsTopicDestination()
          Management method
 java.lang.String getDefaultConnectionFactoryName()
          Management method
 java.lang.String getDefaultQueueConnectionFactoryName()
          Management method
 java.lang.String getDefaultTopicConnectionFactoryName()
          Management method
 int getPendingMessages(java.lang.String jndiName)
          Get number of pending messages on a queue
 int getPendingRequests(java.lang.String jndiName)
          Get number of pending requests on a queue
 int getSubscriptions(java.lang.String jndiName)
          Get number of subscriptions on a topic
 java.lang.String removeJmsDestination(java.lang.String jndiName)
          Management method Remove a Jms destination
 

Method Detail

getCurrentNumberOfJmsConnectionFactory

int getCurrentNumberOfJmsConnectionFactory()
Management method

Returns:
the current number of Jms Connection Factory

getCurrentNumberOfJmsTopicConnectionFactory

int getCurrentNumberOfJmsTopicConnectionFactory()
Management method

Returns:
the current number of Topic Jms Connection Factory

getCurrentNumberOfJmsQueueConnectionFactory

int getCurrentNumberOfJmsQueueConnectionFactory()
Management method

Returns:
the current number of Queue Jms Connection Factory

getCurrentNumberOfJmsTopicDestination

int getCurrentNumberOfJmsTopicDestination()
Management method

Returns:
the current number of Topic Jms Destination

getCurrentNumberOfJmsQueueDestination

int getCurrentNumberOfJmsQueueDestination()
Management method

Returns:
the current number of Queue Jms Destination

removeJmsDestination

java.lang.String removeJmsDestination(java.lang.String jndiName)
                                      throws java.lang.Exception
Management method Remove a Jms destination

Parameters:
String - jndi name
Returns:
the destination type
Throws:
java.lang.Exception

getDefaultConnectionFactoryName

java.lang.String getDefaultConnectionFactoryName()
Management method

Returns:
String name of default Connection factory

getDefaultQueueConnectionFactoryName

java.lang.String getDefaultQueueConnectionFactoryName()
Management method

Returns:
String name of default Queue Connection factory

getDefaultTopicConnectionFactoryName

java.lang.String getDefaultTopicConnectionFactoryName()
Management method

Returns:
String name of default Topic Connection factory

getConnectionFactoryMode

java.lang.String getConnectionFactoryMode(java.lang.String jndiName)
                                          throws java.lang.Exception
Get the messaging mode a connection factory belongs to

Parameters:
jndiName - connection factory name
Returns:
messaging mode
Throws:
failure - on calling monitoring operation
java.lang.Exception

getPendingMessages

int getPendingMessages(java.lang.String jndiName)
                       throws java.lang.Exception
Get number of pending messages on a queue

Parameters:
jndiName - queue name
Returns:
number of pending messages
Throws:
failure - on calling monitoring operation
java.lang.Exception

getPendingRequests

int getPendingRequests(java.lang.String jndiName)
                       throws java.lang.Exception
Get number of pending requests on a queue

Parameters:
jndiName - queue name
Returns:
number of pending requests
Throws:
failure - on calling monitoring operation
java.lang.Exception

getSubscriptions

int getSubscriptions(java.lang.String jndiName)
                     throws java.lang.Exception
Get number of subscriptions on a topic

Parameters:
jndiName - topic name
Returns:
number of subscriptions
Throws:
failure - on calling monitoring operation
java.lang.Exception