|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.ReconfigDispatcher
org.objectweb.jonas.service.AbsServiceImpl
org.objectweb.jonas.jms.JmsServiceImpl
JMS Service implementation.
| 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 |
java.lang.Integer |
getCurrentNumberOfJmsTopicConnectionFactory()
MBean method |
java.lang.Integer |
getCurrentNumberOfJmsTopicDestination()
MBean method |
java.lang.String |
getDefaultConnectionFactoryName()
|
java.lang.String |
getDefaultQueueConnectionFactoryName()
MBean method |
java.lang.String |
getDefaultTopicConnectionFactoryName()
MBean method |
JmsManager |
getJmsManager()
|
java.lang.String |
getMom()
|
java.lang.Integer |
getPendingMessages(java.lang.String jndiName)
Get number of pending messages on a queue |
java.lang.Integer |
getPendingRequests(java.lang.String jndiName)
Get number of pending requests on a queue |
java.lang.Integer |
getSubscriptions(java.lang.String jndiName)
Get number of subscriptions on a topic |
java.lang.String |
getUrl()
|
java.lang.Boolean |
isMomLocal()
|
void |
removeJmsDestination(java.lang.String jndiName)
Remove a Jms destination |
void |
removeJmsQueueDestination(java.lang.String jndiName)
MBean method Remove a Jms destination |
void |
removeJmsTopicDestination(java.lang.String jndiName)
MBean method Remove a Jms destination |
void |
saveConfig()
MBean method: save updated configuration |
| Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl |
getDomainName, getJonasServerName, getName, init, isStarted, setName, start, stop |
| Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
| Field Detail |
public static final java.lang.String SERVICE_NAME
public static final java.lang.String COLLOCATED
public static final java.lang.String MOM
public static final java.lang.String TOPICS
public static final java.lang.String QUEUES
public static final java.lang.String DESTINATIONS
public static final java.lang.String URL
public static final java.lang.String CLASS
| Constructor Detail |
public JmsServiceImpl()
| Method Detail |
public void doInit(javax.naming.Context ctx)
throws ServiceException
doInit in class AbsServiceImplctx - configuration of the service
ServiceException - service initialization failed
public void doStart()
throws ServiceException
doStart in class AbsServiceImplServiceException - service start-up failed
public void doStop()
throws ServiceException
doStop in class AbsServiceImplServiceException - service stopping failedpublic JmsManager getJmsManager()
getJmsManager in interface JmsServicepublic java.lang.Integer getCurrentNumberOfJmsConnectionFactory()
getCurrentNumberOfJmsConnectionFactory in interface JmsServiceImplMBeanpublic java.lang.Integer getCurrentNumberOfJmsTopicConnectionFactory()
getCurrentNumberOfJmsTopicConnectionFactory in interface JmsServiceImplMBeanpublic java.lang.Integer getCurrentNumberOfJmsQueueConnectionFactory()
getCurrentNumberOfJmsQueueConnectionFactory in interface JmsServiceImplMBeanpublic java.lang.Integer getCurrentNumberOfJmsTopicDestination()
getCurrentNumberOfJmsTopicDestination in interface JmsServiceImplMBeanpublic java.lang.Integer getCurrentNumberOfJmsQueueDestination()
getCurrentNumberOfJmsQueueDestination in interface JmsServiceImplMBeanpublic void createJmsQueueDestination(java.lang.String jndiName)
createJmsQueueDestination in interface JmsServiceImplMBeanpublic void createJmsTopicDestination(java.lang.String jndiName)
createJmsTopicDestination in interface JmsServiceImplMBeanpublic void removeJmsTopicDestination(java.lang.String jndiName)
removeJmsTopicDestination in interface JmsServiceImplMBeanpublic void removeJmsQueueDestination(java.lang.String jndiName)
removeJmsQueueDestination in interface JmsServiceImplMBeanpublic void removeJmsDestination(java.lang.String jndiName)
removeJmsDestination in interface JmsServiceImplMBeanpublic java.util.Set getAllJmsQueueDestinationNames()
getAllJmsQueueDestinationNames in interface JmsServiceImplMBeanpublic java.util.Set getAllJmsTopicDestinationNames()
getAllJmsTopicDestinationNames in interface JmsServiceImplMBeanpublic java.util.Set getAllJmsConnectionFactoryNames()
getAllJmsConnectionFactoryNames in interface JmsServiceImplMBeanpublic java.util.Set getAllJmsQueueConnectionFactoryNames()
getAllJmsQueueConnectionFactoryNames in interface JmsServiceImplMBeanpublic java.util.Set getAllJmsTopicConnectionFactoryNames()
getAllJmsTopicConnectionFactoryNames in interface JmsServiceImplMBeanpublic java.lang.String getDefaultQueueConnectionFactoryName()
getDefaultQueueConnectionFactoryName in interface JmsServiceImplMBeanpublic java.lang.String getDefaultTopicConnectionFactoryName()
getDefaultTopicConnectionFactoryName in interface JmsServiceImplMBeanpublic java.lang.String getDefaultConnectionFactoryName()
getDefaultConnectionFactoryName in interface JmsServiceImplMBeanpublic void saveConfig()
saveConfig in interface JmsServiceImplMBeanpublic java.lang.String getConnectionFactoryMode(java.lang.String jndiName)
getConnectionFactoryMode in interface JmsServiceImplMBeanjndiName - connection factory name
public java.lang.Integer getPendingMessages(java.lang.String jndiName)
getPendingMessages in interface JmsServiceImplMBeanjndiName - queue name
public java.lang.Integer getPendingRequests(java.lang.String jndiName)
getPendingRequests in interface JmsServiceImplMBeanjndiName - queue name
public java.lang.Integer getSubscriptions(java.lang.String jndiName)
getSubscriptions in interface JmsServiceImplMBeanjndiName - topic name
public java.lang.Boolean isMomLocal()
isMomLocal in interface JmsServiceImplMBeanpublic java.lang.String getUrl()
getUrl in interface JmsServiceImplMBeanpublic java.lang.String getMom()
getMom in interface JmsServiceImplMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||