org.objectweb.jonas.jms
Interface JmsServiceImplMBean

All Known Implementing Classes:
JmsServiceImpl

public interface JmsServiceImplMBean

MBean Interface for Jms Service Management MBean type: Standard MBean model: Delegate (JmsService)

Author:
Guillaume Riviere, Frederic Maistre 03.05.27 - Add support for monitoring of JMS destinations 03.09 - New methods related to connection factories

Method Summary
 void createJmsQueueDestination(String jndiName)
          Create a new Jms queue destination
 void createJmsTopicDestination(String jndiName)
          Create a new Jms topic destination
 Set getAllJmsConnectionFactoryNames()
          return Set of Connection Factory Names
 Set getAllJmsQueueConnectionFactoryNames()
          return Set of Queue Connection Factory Names
 Set getAllJmsQueueDestinationNames()
          return Set of Queue Destinations Names
 Set getAllJmsTopicConnectionFactoryNames()
          return Set of Topic Destination Names
 Set getAllJmsTopicDestinationNames()
          return Set of Topic Destination Names
 String getConnectionFactoryMode(String jndiName)
          Get the messaging mode a connection factory belongs to
 Integer getCurrentNumberOfJmsConnectionFactory()
           
 Integer getCurrentNumberOfJmsQueueConnectionFactory()
           
 Integer getCurrentNumberOfJmsQueueDestination()
           
 Integer getCurrentNumberOfJmsTopicConnectionFactory()
           
 Integer getCurrentNumberOfJmsTopicDestination()
           
 String getDefaultConnectionFactoryName()
           
 String getDefaultQueueConnectionFactoryName()
          return String name of default Queue Connection factory
 String getDefaultTopicConnectionFactoryName()
          return String name of default Topic Connection factory
 String getMom()
           
 Integer getPendingMessages(String jndiName)
          Get number of pending messages on a queue
 Integer getPendingRequests(String jndiName)
          Get number of pending requests on a queue
 Integer getSubscriptions(String jndiName)
          Get number of subscriptions on a topic
 String getUrl()
           
 Boolean isMomLocal()
           
 void removeJmsDestination(String jndiName)
          Remove a Jms destination
 void removeJmsQueueDestination(String jndiName)
          Remove a Queue Jms destination
 void removeJmsTopicDestination(String jndiName)
          Remove a Topic Jms destination
 void saveConfig()
          MBean method: save updated configuration
 

Method Detail

getCurrentNumberOfJmsConnectionFactory

Integer getCurrentNumberOfJmsConnectionFactory()
Returns:
the current number of Jms Connection Factory

getCurrentNumberOfJmsTopicConnectionFactory

Integer getCurrentNumberOfJmsTopicConnectionFactory()
Returns:
the current number of Topic Jms Connection Factory

getCurrentNumberOfJmsQueueConnectionFactory

Integer getCurrentNumberOfJmsQueueConnectionFactory()
Returns:
the current number of Queue Jms Connection Factory

getCurrentNumberOfJmsTopicDestination

Integer getCurrentNumberOfJmsTopicDestination()
Returns:
the current number of Topic Jms Destination

getCurrentNumberOfJmsQueueDestination

Integer getCurrentNumberOfJmsQueueDestination()
Returns:
the current number of Queue Jms Destination

createJmsQueueDestination

void createJmsQueueDestination(String jndiName)
Create a new Jms queue destination

Parameters:
String - jndi Name

createJmsTopicDestination

void createJmsTopicDestination(String jndiName)
Create a new Jms topic destination

Parameters:
String - jndi Name

removeJmsTopicDestination

void removeJmsTopicDestination(String jndiName)
Remove a Topic Jms destination

Parameters:
String - jndi name

removeJmsQueueDestination

void removeJmsQueueDestination(String jndiName)
Remove a Queue Jms destination

Parameters:
String - jndi name

removeJmsDestination

void removeJmsDestination(String jndiName)
Remove a Jms destination

Parameters:
String - jndi name

getAllJmsQueueDestinationNames

Set getAllJmsQueueDestinationNames()
return Set of Queue Destinations Names


getAllJmsTopicDestinationNames

Set getAllJmsTopicDestinationNames()
return Set of Topic Destination Names


getAllJmsConnectionFactoryNames

Set getAllJmsConnectionFactoryNames()
return Set of Connection Factory Names


getAllJmsQueueConnectionFactoryNames

Set getAllJmsQueueConnectionFactoryNames()
return Set of Queue Connection Factory Names


getAllJmsTopicConnectionFactoryNames

Set getAllJmsTopicConnectionFactoryNames()
return Set of Topic Destination Names


getDefaultQueueConnectionFactoryName

String getDefaultQueueConnectionFactoryName()
return String name of default Queue Connection factory


getDefaultTopicConnectionFactoryName

String getDefaultTopicConnectionFactoryName()
return String name of default Topic Connection factory


getDefaultConnectionFactoryName

String getDefaultConnectionFactoryName()
Returns:
String name of default Connection factory

saveConfig

void saveConfig()
MBean method: save updated configuration


getConnectionFactoryMode

String getConnectionFactoryMode(String jndiName)
Get the messaging mode a connection factory belongs to

Parameters:
jndiName - connection factory name
Returns:
messaging mode

getPendingMessages

Integer getPendingMessages(String jndiName)
Get number of pending messages on a queue

Parameters:
jndiName - queue name
Returns:
number of pending messages

getPendingRequests

Integer getPendingRequests(String jndiName)
Get number of pending requests on a queue

Parameters:
jndiName - queue name
Returns:
number of pending requests

getSubscriptions

Integer getSubscriptions(String jndiName)
Get number of subscriptions on a topic

Parameters:
jndiName - topic name
Returns:
number of subscriptions

isMomLocal

Boolean isMomLocal()

getUrl

String getUrl()

getMom

String getMom()


Copyright © 2007 OW2 Consortium. All Rights Reserved.