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

Quick Search    Search Deep

org.objectweb.jtests.providers.admin
Class JBossMQAdmin  view JBossMQAdmin download JBossMQAdmin.java

java.lang.Object
  extended byorg.objectweb.jtests.providers.admin.JBossMQAdmin
All Implemented Interfaces:
org.objectweb.jtests.jms.admin.Admin

public class JBossMQAdmin
extends java.lang.Object
implements org.objectweb.jtests.jms.admin.Admin


Field Summary
(package private)  javax.naming.InitialContext ictx
           
private  java.lang.String name
           
(package private)  org.jboss.jmx.adaptor.rmi.RMIAdaptor server
           
 
Constructor Summary
JBossMQAdmin()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name

ictx

javax.naming.InitialContext ictx

server

org.jboss.jmx.adaptor.rmi.RMIAdaptor server
Constructor Detail

JBossMQAdmin

public JBossMQAdmin()
Method Detail

getName

public java.lang.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

createInitialContext

public javax.naming.InitialContext createInitialContext()
                                                 throws javax.naming.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

createQueueConnectionFactory

public void createQueueConnectionFactory(java.lang.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

deleteQueueConnectionFactory

public void deleteQueueConnectionFactory(java.lang.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

createTopicConnectionFactory

public void createTopicConnectionFactory(java.lang.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

deleteTopicConnectionFactory

public void deleteTopicConnectionFactory(java.lang.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

createQueue

public void createQueue(java.lang.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

createTopic

public void createTopic(java.lang.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

deleteQueue

public void deleteQueue(java.lang.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

deleteTopic

public void deleteTopic(java.lang.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