org.glassfish.jms.admin.cli
Class ListJMSDestinations

java.lang.Object
  extended by org.glassfish.jms.admin.cli.JMSDestination
      extended by org.glassfish.jms.admin.cli.ListJMSDestinations
All Implemented Interfaces:
AdminCommand

@Service(name="list-jmsdest")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@CommandLock(value=NONE)
@ExecuteOn(value=DAS)
@TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
public class ListJMSDestinations
extends JMSDestination
implements AdminCommand

Create JMS Destination


Field Summary
 
Fields inherited from class org.glassfish.jms.admin.cli.JMSDestination
CLUSTER_CONFIG_MBEAN_NAME, DEFAULT_MAX_ACTIVE_CONSUMERS, DESTINATION_MANAGER_CONFIG_MBEAN_NAME, DESTINATION_TYPE_QUEUE, DESTINATION_TYPE_TOPIC, JMS_DEST_TYPE_QUEUE, JMS_DEST_TYPE_TOPIC, JMXCONNECTORENV, JMXSERVICEURLLIST, MAX_ACTIVE_CONSUMERS_ATTRIBUTE, MAX_ACTIVE_CONSUMERS_PROPERTY, MBEAN_DOMAIN_NAME
 
Constructor Summary
ListJMSDestinations()
           
 
Method Summary
 void execute(AdminCommandContext context)
           
 java.util.List listJMSDestinations(java.lang.String tgtName, java.lang.String destType)
           
 
Methods inherited from class org.glassfish.jms.admin.cli.JMSDestination
_getMQJMXConnectorInfo, _getMQJMXConnectorInfoForCluster, convertProp2Attrs, getConfiguredRA, getDefaultAddressList, getFirstJMXServiceURL, getMQAdapter, getMQJMXConnectorInfo, getMQJMXConnectorInfos, getTypeForTarget, handleException, logAndHandleException, validateJMSDestName, validateJMSDestType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListJMSDestinations

public ListJMSDestinations()
Method Detail

execute

public void execute(AdminCommandContext context)
Specified by:
execute in interface AdminCommand

listJMSDestinations

public java.util.List listJMSDestinations(java.lang.String tgtName,
                                          java.lang.String destType)
                                   throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.