Package org.glassfish.jms.admin.cli
Class CreateJMSDestination
- java.lang.Object
-
- org.glassfish.jms.admin.cli.JMSDestination
-
- org.glassfish.jms.admin.cli.CreateJMSDestination
-
- All Implemented Interfaces:
AdminCommand
@Service(name="create-jmsdest") @PerLookup @ExecuteOn(DAS) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG,DEPLOYMENT_GROUP}) public class CreateJMSDestination 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, logger, MAX_ACTIVE_CONSUMERS_ATTRIBUTE, MAX_ACTIVE_CONSUMERS_PROPERTY, MBEAN_DOMAIN_NAME
-
-
Constructor Summary
Constructors Constructor Description CreateJMSDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(AdminCommandContext context)Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values-
Methods inherited from class org.glassfish.jms.admin.cli.JMSDestination
_getMQJMXConnectorInfo, _getMQJMXConnectorInfoForCluster, convertProp2Attrs, getConfiguredRA, getDefaultAddressList, getFirstJMXServiceURL, getMQAdapter, getMQJMXConnectorInfo, getMQJMXConnectorInfos, getTypeForTarget, handleException, logAndHandleException, validateJMSDestName, validateJMSDestType
-
-
-
-
Method Detail
-
execute
public void execute(AdminCommandContext context)
Description copied from interface:AdminCommandExecutes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values- Specified by:
executein interfaceAdminCommand- Parameters:
context- information
-
-