Package org.glassfish.jms.admin.cli
Class ChangeMasterBrokerCommand
- java.lang.Object
-
- org.glassfish.jms.admin.cli.JMSDestination
-
- org.glassfish.jms.admin.cli.ChangeMasterBrokerCommand
-
- All Implemented Interfaces:
AdminCommand
@Service(name="change-master-broker") @PerLookup @ExecuteOn({DAS,INSTANCE}) @TargetType({DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG,DEPLOYMENT_GROUP}) public class ChangeMasterBrokerCommand extends JMSDestination implements AdminCommand
Change JMS Master Broker Command
-
-
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 ChangeMasterBrokerCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(AdminCommandContext context)
Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values 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)
Executes the command with the command parameters passed as Properties where the keys are the paramter names and the values the parameter values- Specified by:
execute
in interfaceAdminCommand
- Parameters:
context
- information
-
-