|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmsManager
JMS Manager interface. Implemented by the jms module (jonas/lib/jms/JmsManagerImpl) This interface allows other jonas module to be independant of jonas jms implementation.
Method Summary | |
---|---|
Queue |
createQueue(String name)
Create a Queue and bind it in the registry |
Topic |
createTopic(String name)
Create a Topic and bind it in the registry |
ConnectionFactory |
getConnectionFactory()
Get the unique ConnectionFactory |
Queue |
getQueue(String name)
Get Queue (creates it if not exist) |
QueueConnectionFactory |
getQueueConnectionFactory()
Get the unique QueueConnectionFactory |
Enumeration |
getQueuesNames()
Get Queue Names |
Topic |
getTopic(String name)
Get Topic (creates it if not exist) |
TopicConnectionFactory |
getTopicConnectionFactory()
Get the unique TopicConnectionFactory |
Enumeration |
getTopicsNames()
Get Topic Names |
XAConnectionFactory |
getXAConnectionFactory()
Get the unique XAConnectionFactory |
XAQueueConnectionFactory |
getXAQueueConnectionFactory()
Get the unique XAQueueConnectionFactory |
XATopicConnectionFactory |
getXATopicConnectionFactory()
Get the unique XATopicConnectionFactory |
void |
init(Class cl,
boolean collocated,
String url,
TransactionManager tm)
Initialisation of JmsManager |
void |
stop()
Terminate the administering process |
Method Detail |
---|
void init(Class cl, boolean collocated, String url, TransactionManager tm) throws 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
- tm
Exception
- must be thrown if the MOM is unreachablevoid stop() throws Exception
Exception
Queue createQueue(String name) throws Exception
Exception
Queue getQueue(String name) throws Exception
Exception
Enumeration getQueuesNames()
Topic createTopic(String name) throws Exception
Exception
Topic getTopic(String name) throws Exception
Exception
Enumeration getTopicsNames()
ConnectionFactory getConnectionFactory()
XAConnectionFactory getXAConnectionFactory()
TopicConnectionFactory getTopicConnectionFactory()
XATopicConnectionFactory getXATopicConnectionFactory()
QueueConnectionFactory getQueueConnectionFactory()
XAQueueConnectionFactory getXAQueueConnectionFactory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |