org.jboss.test.jms
Class LegacyJMSTestAdmin
java.lang.Object
org.jboss.test.jms.JMSTestAdmin
org.jboss.test.jms.LegacyJMSTestAdmin
public class LegacyJMSTestAdmin
- extends JMSTestAdmin
- Author:
- Clebert Suconic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mainDeployer
protected final ObjectName mainDeployer
namingService
protected static final ObjectName namingService
namingService2
protected static final ObjectName namingService2
serverPeer
protected static final ObjectName serverPeer
LegacyJMSTestAdmin
public LegacyJMSTestAdmin()
throws Exception
- Throws:
Exception
isSupported
public boolean isSupported()
- Specified by:
isSupported
in class JMSTestAdmin
createQueue
public void createQueue(String name,
TestRole... securityConfig)
throws Exception
- Specified by:
createQueue
in class JMSTestAdmin
- Throws:
Exception
createQueue
public void createQueue(String name,
String[] jndiArray,
TestRole... securityConfig)
throws Exception
- Specified by:
createQueue
in class JMSTestAdmin
- Throws:
Exception
createTopic
public void createTopic(String name,
TestRole... securityConfig)
throws Exception
- Specified by:
createTopic
in class JMSTestAdmin
- Throws:
Exception
createTopic
public void createTopic(String name,
String[] jndiArray,
TestRole... securityConfig)
throws Exception
- Specified by:
createTopic
in class JMSTestAdmin
- Throws:
Exception
deleteQueue
public void deleteQueue(String name)
throws Exception
- Specified by:
deleteQueue
in class JMSTestAdmin
- Throws:
Exception
deleteTopic
public void deleteTopic(String name)
throws Exception
- Specified by:
deleteTopic
in class JMSTestAdmin
- Throws:
Exception
destroyEveryDestination
public void destroyEveryDestination()
throws Exception
- This method only exists because hornetQ doesn't actually delete the
destination on undeploy. On HornetQ we need to remove every destination
from the storage while on Legacy versions a simple undeploy is fine
- Specified by:
destroyEveryDestination
in class JMSTestAdmin
- Throws:
Exception
destroyCreatedDestinations
public void destroyCreatedDestinations()
throws Exception
- Specified by:
destroyCreatedDestinations
in class JMSTestAdmin
- Throws:
Exception
createQueueJMXName
public ObjectName createQueueJMXName(String queueName)
- Specified by:
createQueueJMXName
in class JMSTestAdmin
createTopicJMXName
public ObjectName createTopicJMXName(String queueName)
- Specified by:
createTopicJMXName
in class JMSTestAdmin
createDestinationJMXName
public ObjectName createDestinationJMXName(boolean isTopic,
String destName)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.