|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_jms.JmsAdminForJoram
public class JmsAdminForJoram
Joram administration. This JORAM specific class allows to administer a JORAM server when JORAM has been declared as a service.
Jeff Mesnil: for JORAM 3.x integration
Frederic Maistre for JORAM 4.x integration
03/05/25 Adriana Danes : JMS resource monitoring
Constructor Summary | |
---|---|
JmsAdminForJoram()
default constructor. |
Method Summary | |
---|---|
javax.jms.Queue |
createQueue(java.lang.String name)
Create a Queue and bind it to the registry |
javax.jms.Topic |
createTopic(java.lang.String name)
Create a Topic and bind it to the registry |
void |
deleteDestination(java.lang.String name)
Delete a destination. |
int |
getPendingMessages(javax.jms.Queue queue)
Get number of pending messages on a queue |
int |
getPendingRequests(javax.jms.Queue queue)
Get number of pending requests on a queue |
int |
getSubscriptions(javax.jms.Topic topic)
Get number of subscriptions on a topic |
javax.jms.XAConnectionFactory |
getXAConnectionFactory()
Get the XAConnectionFactory |
javax.jms.XAQueueConnectionFactory |
getXAQueueConnectionFactory()
Get the XAQueueConnectionFactory |
javax.jms.XATopicConnectionFactory |
getXATopicConnectionFactory()
Get the XATopicConnectionFactory |
void |
start(boolean collocated,
java.lang.String url)
Jms Administrator is created with newInstance(). |
void |
stop()
Stop the Jms Administrator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmsAdminForJoram()
Method Detail |
---|
public void start(boolean collocated, java.lang.String url) throws java.lang.Exception
start
in interface JmsAdministration
boolean
- true for if the MOM in run in the current JVMString
- url connexion that must be used if not collocated
java.lang.Exception
public void stop()
stop
in interface JmsAdministration
public javax.jms.XAConnectionFactory getXAConnectionFactory()
getXAConnectionFactory
in interface JmsAdministration
public javax.jms.XATopicConnectionFactory getXATopicConnectionFactory()
getXATopicConnectionFactory
in interface JmsAdministration
public javax.jms.XAQueueConnectionFactory getXAQueueConnectionFactory()
getXAQueueConnectionFactory
in interface JmsAdministration
public javax.jms.Queue createQueue(java.lang.String name) throws java.lang.Exception
createQueue
in interface JmsAdministration
java.lang.Exception
public javax.jms.Topic createTopic(java.lang.String name) throws java.lang.Exception
createTopic
in interface JmsAdministration
java.lang.Exception
public void deleteDestination(java.lang.String name) throws java.lang.Exception
deleteDestination
in interface JmsAdministration
java.lang.Exception
public int getPendingMessages(javax.jms.Queue queue) throws java.lang.Exception
getPendingMessages
in interface JmsAdministration
queue
- the monitored queue
java.lang.Exception
- if could not get info (queue not valid or connection failed or monitoring request failed)public int getPendingRequests(javax.jms.Queue queue) throws java.lang.Exception
getPendingRequests
in interface JmsAdministration
queue
- the monitored queue
java.lang.Exception
- if could not get info (queue not valid or connection failed or monitoring request failed)public int getSubscriptions(javax.jms.Topic topic) throws java.lang.Exception
getSubscriptions
in interface JmsAdministration
topic
- the monitored topic
java.lang.Exception
- if could not get info (topic not valid or connection failed or monitoring request failed)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |