org.objectweb.jonas.jms
Class JmsServiceImpl

java.lang.Object
  extended byjavax.management.NotificationBroadcasterSupport
      extended byorg.objectweb.jonas.management.ReconfigDispatcher
          extended byorg.objectweb.jonas.service.AbsServiceImpl
              extended byorg.objectweb.jonas.jms.JmsServiceImpl
All Implemented Interfaces:
JmsService, JmsServiceImplMBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, ReconfigDispatcherMBean, Service

public class JmsServiceImpl
extends AbsServiceImpl
implements JmsService, JmsServiceImplMBean

JMS Service implementation.

Author:
Philippe Coq Contributor(s): Adriana Danes: highlight configuration properties 03.05.27 - Add support for monitoring of JMS destinations

Field Summary
static java.lang.String CLASS
           
static java.lang.String COLLOCATED
           
static java.lang.String DESTINATIONS
           
static java.lang.String MOM
           
static java.lang.String QUEUES
           
static java.lang.String SERVICE_NAME
           
static java.lang.String TOPICS
           
static java.lang.String URL
           
 
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher
RECONFIG_TYPE, SAVE_RECONFIG_TYPE
 
Constructor Summary
JmsServiceImpl()
           
 
Method Summary
 void createJmsQueueDestination(java.lang.String jndiName)
          MBean method Create a new Jms queue destination
 void createJmsTopicDestination(java.lang.String jndiName)
          MBean method Create a new Jms topic destination
 void doInit(javax.naming.Context ctx)
          Init the Service.
 void doStart()
          Start the Service Initialization of the service is already done.
 void doStop()
          Stop the JMS Service
 java.util.Set getAllJmsConnectionFactoryNames()
          MBean method return Set of Connection Factory Names
 java.util.Set getAllJmsQueueConnectionFactoryNames()
          MBean method return Set of Queue Connection Factory Names
 java.util.Set getAllJmsQueueDestinationNames()
          MBean method return Set of Queue Destinations Names
 java.util.Set getAllJmsTopicConnectionFactoryNames()
          MBean method return Set of Topic Connection Factory Names
 java.util.Set getAllJmsTopicDestinationNames()
          MBean method return Set of Topic Destination Names
 java.lang.String getConnectionFactoryMode(java.lang.String jndiName)
          Get the messaging mode a connection factory belongs to
 java.lang.Integer getCurrentNumberOfJmsConnectionFactory()
          MBean method
 java.lang.Integer getCurrentNumberOfJmsQueueConnectionFactory()
          MBean method
 java.lang.Integer getCurrentNumberOfJmsQueueDestination()
          MBean method