org.jboss.test.jms
Class GenericAdmin

java.lang.Object
  extended by org.jboss.test.jms.GenericAdmin
All Implemented Interfaces:
org.objectweb.jtests.jms.admin.Admin

public class GenericAdmin
extends Object
implements org.objectweb.jtests.jms.admin.Admin

GenericAdmin.

Version:
$Revision: 1.2 $
Author:
Adrian Brock

Field Summary
static org.objectweb.jtests.jms.admin.Admin delegate
           
static org.jboss.logging.Logger log
           
 
Constructor Summary
GenericAdmin()
           
 
Method Summary
 void createConnectionFactory(String name)
          Creates a ConnectionFactory and makes it available from JNDI with name name.
 InitialContext createInitialContext()
          Returns an InitialContext with correct properties from the JMS Provider.
 void createQueue(String name)
          Creates a Queue and makes it available from JNDI with name name.
 void createQueueConnectionFactory(String name)
          Creates a QueueConnectionFactory and makes it available from JNDI with name name.
 void createTopic(String name)
          Creates a Topic and makes it available from JNDI with name name.
 void createTopicConnectionFactory(String name)
          Creates a TopicConnectionFactory and makes it available from JNDI with name name.
 void deleteConnectionFactory(String name)
          Removes the ConnectionFactory of name name from JNDI and deletes it
 void deleteQueue(String name)
          Removes the Queue of name name from JNDI and deletes it
 void deleteQueueConnectionFactory(String name)
          Removes the QueueConnectionFactory of name name from JNDI and deletes it
 void deleteTopic(String name)
          Removes the Topic of name name from JNDI and deletes it
 void deleteTopicConnectionFactory(String name)
          Removes the TopicConnectionFactory of name name from JNDI and deletes it
 String getName()
          Returns the name of the JMS Provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.jboss.logging.Logger log

delegate

public static org.objectweb.jtests.jms.admin.Admin delegate
Constructor Detail

GenericAdmin

public GenericAdmin()
Method Detail

getName

public String getName()
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Returns the name of the JMS Provider.

Specified by:
getName in interface org.objectweb.jtests.jms.admin.Admin
Returns:
name of the JMS Provider

createInitialContext

public InitialContext createInitialContext()
                                    throws NamingException
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Returns an InitialContext with correct properties from the JMS Provider.

Specified by:
createInitialContext in interface org.objectweb.jtests.jms.admin.Admin
Returns:
an InitialContext with correct properties from the JMS Provider.
Throws:
NamingException

createConnectionFactory

public void createConnectionFactory(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Creates a ConnectionFactory and makes it available from JNDI with name name.

Specified by:
createConnectionFactory in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the ConnectionFactory

deleteConnectionFactory

public void deleteConnectionFactory(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Removes the ConnectionFactory of name name from JNDI and deletes it

Specified by:
deleteConnectionFactory in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the ConnectionFactory

createQueue

public void createQueue(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Creates a Queue and makes it available from JNDI with name name.

Specified by:
createQueue in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the Queue

deleteQueue

public void deleteQueue(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Removes the Queue of name name from JNDI and deletes it

Specified by:
deleteQueue in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the Queue

createQueueConnectionFactory

public void createQueueConnectionFactory(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Creates a QueueConnectionFactory and makes it available from JNDI with name name.

Specified by:
createQueueConnectionFactory in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the QueueConnectionFactory

deleteQueueConnectionFactory

public void deleteQueueConnectionFactory(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Removes the QueueConnectionFactory of name name from JNDI and deletes it

Specified by:
deleteQueueConnectionFactory in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the QueueConnectionFactory

createTopic

public void createTopic(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Creates a Topic and makes it available from JNDI with name name.

Specified by:
createTopic in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the Topic

deleteTopic

public void deleteTopic(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Removes the Topic of name name from JNDI and deletes it

Specified by:
deleteTopic in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the Topic

createTopicConnectionFactory

public void createTopicConnectionFactory(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Creates a TopicConnectionFactory and makes it available from JNDI with name name.

Specified by:
createTopicConnectionFactory in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the TopicConnectionFactory

deleteTopicConnectionFactory

public void deleteTopicConnectionFactory(String name)
Description copied from interface: org.objectweb.jtests.jms.admin.Admin
Removes the TopicConnectionFactory of name name from JNDI and deletes it

Specified by:
deleteTopicConnectionFactory in interface org.objectweb.jtests.jms.admin.Admin
Parameters:
name - JNDI name of the TopicConnectionFactory


Copyright © 2004 JBoss Inc. All Rights Reserved.