|
|||||||||
| Home >> All >> org >> objectweb >> jtests >> jms >> [ admin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectweb.jtests.jms.admin
Interface Admin

- public interface Admin
Simple Administration interface.
JMS Provider has to implement this
simple interface to be able to use the test suite.
| Method Summary | |
javax.naming.InitialContext |
createInitialContext()
Returns an InitialContext with correct properties from
the JMS Provider. |
void |
createQueue(java.lang.String name)
Creates a Queue and makes it available
from JNDI with name name. |
void |
createQueueConnectionFactory(java.lang.String name)
Creates a QueueConnectionFactory and makes it available
from JNDI with name name. |
void |
createTopic(java.lang.String name)
Creates a Topic and makes it available
from JNDI with name name. |
void |
createTopicConnectionFactory(java.lang.String name)
Creates a TopicConnectionFactory and makes it available
from JNDI with name name. |
void |
deleteQueue(java.lang.String name)
Removes the Queue of name name from JNDI and deletes it |
void |
deleteQueueConnectionFactory(java.lang.String name)
Removes the QueueConnectionFactory of name name from JNDI and deletes it |
void |
deleteTopic(java.lang.String name)
Removes the Topic of name name from JNDI and deletes it |
void |
deleteTopicConnectionFactory(java.lang.String name)
Removes the TopicConnectionFactory of name name from JNDI and deletes it |
java.lang.String |
getName()
Returns the name of the JMS Provider. |
| Method Detail |
getName
public java.lang.String getName()
- Returns the name of the JMS Provider.
createInitialContext
public javax.naming.InitialContext createInitialContext() throws javax.naming.NamingException
- Returns an
InitialContextwith correct properties from the JMS Provider.
createQueueConnectionFactory
public void createQueueConnectionFactory(java.lang.String name)
- Creates a
QueueConnectionFactoryand makes it available from JNDI with namename.
createTopicConnectionFactory
public void createTopicConnectionFactory(java.lang.String name)
- Creates a
TopicConnectionFactoryand makes it available from JNDI with namename.
createQueue
public void createQueue(java.lang.String name)
- Creates a
Queueand makes it available from JNDI with namename.
createTopic
public void createTopic(java.lang.String name)
- Creates a
Topicand makes it available from JNDI with namename.
deleteQueue
public void deleteQueue(java.lang.String name)
- Removes the
Queueof namenamefrom JNDI and deletes it
deleteTopic
public void deleteTopic(java.lang.String name)
- Removes the
Topicof namenamefrom JNDI and deletes it
deleteQueueConnectionFactory
public void deleteQueueConnectionFactory(java.lang.String name)
- Removes the
QueueConnectionFactoryof namenamefrom JNDI and deletes it
deleteTopicConnectionFactory
public void deleteTopicConnectionFactory(java.lang.String name)
- Removes the
TopicConnectionFactoryof namenamefrom JNDI and deletes it
|
|||||||||
| Home >> All >> org >> objectweb >> jtests >> jms >> [ admin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC