|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jotm.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.
| Constructor Summary | |
|---|---|
JmsAdminForJoram()
default constructor. |
|
| Method Summary | |
|---|---|
Queue |
createQueue(String name)
Create a Queue and bind it to the registry |
Topic |
createTopic(String name)
Create a Topic and bind it to the registry |
XAConnectionFactory |
getXAConnectionFactory()
Get the XAConnectionFactory |
XAQueueConnectionFactory |
getXAQueueConnectionFactory()
Get the XAQueueConnectionFactory |
XATopicConnectionFactory |
getXATopicConnectionFactory()
Get the XATopicConnectionFactory |
void |
start(boolean collocated,
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,
String url)
throws Exception
start in interface JmsAdministrationcollocated - true for if the MOM in run in the current JVMurl - connexion that must be used if not collocated
Exception - could not start MOMpublic void stop()
stop in interface JmsAdministrationpublic XAConnectionFactory getXAConnectionFactory()
getXAConnectionFactory in interface JmsAdministrationpublic XATopicConnectionFactory getXATopicConnectionFactory()
getXATopicConnectionFactory in interface JmsAdministrationpublic XAQueueConnectionFactory getXAQueueConnectionFactory()
getXAQueueConnectionFactory in interface JmsAdministration
public Queue createQueue(String name)
throws Exception
createQueue in interface JmsAdministrationname - the JNDI name
Exception - could not create destination
public Topic createTopic(String name)
throws Exception
createTopic in interface JmsAdministrationname - the JNDI name
Exception - could not create destination
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||