|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JMS Administration interface. must be implemented for each jms provider JOnAS uses this interface to access the JMS provider.
Method Summary | |
javax.jms.Queue |
createQueue(java.lang.String name)
Create a Queue |
javax.jms.Topic |
createTopic(java.lang.String name)
Create a Topic |
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 |
Method Detail |
public void start(boolean collocated, java.lang.String url) throws java.lang.Exception
java.lang.Exception
public void stop()
public javax.jms.XAConnectionFactory getXAConnectionFactory()
public javax.jms.XATopicConnectionFactory getXATopicConnectionFactory()
public javax.jms.XAQueueConnectionFactory getXAQueueConnectionFactory()
public javax.jms.Topic createTopic(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public javax.jms.Queue createQueue(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public void deleteDestination(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public int getPendingMessages(javax.jms.Queue queue) throws java.lang.Exception
java.lang.Exception
public int getPendingRequests(javax.jms.Queue queue) throws java.lang.Exception
java.lang.Exception
public int getSubscriptions(javax.jms.Topic topic) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |