|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JmsManager
This interface is used by components that want to access a JMS Manager. The JMS Manager encapsulates a MOM like Joram. This interface is implemented by JmsManagerImpl.
| Method Summary | |
|---|---|
Queue |
createQueue(String name)
Creation of an administered Object Queue and bind it in the registry Can be retrieved later by lookup(name) |
Topic |
createTopic(String name)
Creation of an administered Object Topic and bind it in the registry Can be retrieved later by lookup(name) |
ConnectionFactory |
getConnectionFactory()
|
QueueConnectionFactory |
getQueueConnectionFactory()
|
TopicConnectionFactory |
getTopicConnectionFactory()
Get the unique TopicConnectionFactory registered in JNDI with the name "TCF". |
void |
init(Class cl,
boolean collocated,
String url,
TransactionManager tm)
Initialization of the JmsManager. |
void |
stop()
Terminate the administering process and unbind all objects in JNDI. |
| Method Detail |
|---|
void init(Class cl,
boolean collocated,
String url,
TransactionManager tm)
throws Exception
cl - class implementing JmsAdministrationcollocated - true if collacated, false if remote.url - In case of remote: the URL.tm - TransactionManager
Exception - could not init the JmsManager
ConnectionFactory getConnectionFactory()
throws Exception
Exception
QueueConnectionFactory getQueueConnectionFactory()
throws Exception
Exception
TopicConnectionFactory getTopicConnectionFactory()
throws Exception
Exception
Queue createQueue(String name)
throws Exception
name - JNDI name.
Exception
Topic createTopic(String name)
throws Exception
name - JNDI name.
Exception
void stop()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||