|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JMS Manager interface. Implemented by the jms module (jonas_jms/JmsManagerImpl) This interface allows other jonas module to be independant of jonas_jms implementation.
Method Summary | |
javax.jms.Queue |
createQueue(java.lang.String name)
Create a Queue and bind it in the registry |
javax.jms.Topic |
createTopic(java.lang.String name)
Create a Topic and bind it in the registry |
javax.jms.Queue |
getQueue(java.lang.String name)
Get Queue (creates it if not exist) |
javax.jms.QueueConnectionFactory |
getQueueConnectionFactory()
Get the unique QueueConnectionFactory |
java.util.Enumeration |
getQueuesNames()
Get Queue Names |
javax.jms.Topic |
getTopic(java.lang.String name)
Get Topic (creates it if not exist) |
javax.jms.TopicConnectionFactory |
getTopicConnectionFactory()
Get the unique TopicConnectionFactory |
java.util.Enumeration |
getTopicsNames()
Get Topic Names |
javax.jms.XAQueueConnectionFactory |
getXAQueueConnectionFactory()
Get the unique XAQueueConnectionFactory |
javax.jms.XATopicConnectionFactory |
getXATopicConnectionFactory()
Get the unique XATopicConnectionFactory |
void |
init(java.lang.Class cl,
boolean collocated,
java.lang.String url,
javax.transaction.TransactionManager tm)
Initialisation of JmsManager |
void |
stop()
Terminate the administering process |
Method Detail |
public void init(java.lang.Class cl, boolean collocated, java.lang.String url, javax.transaction.TransactionManager tm) throws java.lang.Exception
class
- cl class implementing administration processboolean
- true for launching the MOM in the same JVMString
- connexion url to the MOM (in case of remote mode)TransactionManager
- tmjava.lang.Exception
- must be thrown if the MOM is unreachablepublic void stop() throws java.lang.Exception
public javax.jms.Queue createQueue(java.lang.String name) throws java.lang.Exception
public javax.jms.Queue getQueue(java.lang.String name) throws java.lang.Exception
public java.util.Enumeration getQueuesNames()
public javax.jms.Topic createTopic(java.lang.String name) throws java.lang.Exception
public javax.jms.Topic getTopic(java.lang.String name) throws java.lang.Exception
public java.util.Enumeration getTopicsNames()
public javax.jms.TopicConnectionFactory getTopicConnectionFactory()
public javax.jms.XATopicConnectionFactory getXATopicConnectionFactory()
public javax.jms.QueueConnectionFactory getQueueConnectionFactory()
public javax.jms.XAQueueConnectionFactory getXAQueueConnectionFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |