Package org.glassfish.jms.admin.cli
Class FlushJMSDestination
- java.lang.Object
-
- org.glassfish.jms.admin.cli.JMSDestination
-
- org.glassfish.jms.admin.cli.FlushJMSDestination
-
- All Implemented Interfaces:
AdminCommand
@Service(name="flush-jmsdest") @PerLookup @ExecuteOn(DAS) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG,DEPLOYMENT_GROUP}) public class FlushJMSDestination extends JMSDestination implements AdminCommand
Flush 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
Constructors Constructor Description FlushJMSDestination()
-
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 valuesvoidpurgeJMSDestination(String destName, String destType, String tgtName)-
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
-
-