Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.objectweb.jtests.jms.admin
Interface Admin  view Admin download Admin.java


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 InitialContext with correct properties from the JMS Provider.


createQueueConnectionFactory

public void createQueueConnectionFactory(java.lang.String name)
Creates a QueueConnectionFactory and makes it available from JNDI with name name.


createTopicConnectionFactory

public void createTopicConnectionFactory(java.lang.String name)
Creates a TopicConnectionFactory and makes it available from JNDI with name name.


createQueue

public void createQueue(java.lang.String name)
Creates a Queue and makes it available from JNDI with name name.


createTopic

public void createTopic(java.lang.String name)
Creates a Topic and makes it available from JNDI with name name.


deleteQueue

public void deleteQueue(java.lang.String name)
Removes the Queue of name name from JNDI and deletes it


deleteTopic

public void deleteTopic(java.lang.String name)
Removes the Topic of name name from JNDI and deletes it


deleteQueueConnectionFactory

public void deleteQueueConnectionFactory(java.lang.String name)
Removes the QueueConnectionFactory of name name from JNDI and deletes it


deleteTopicConnectionFactory

public void deleteTopicConnectionFactory(java.lang.String name)
Removes the TopicConnectionFactory of name name from JNDI and deletes it