org.glassfish.jms.admin.cli
Class ChangeMasterBrokerCommand

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

@Service(name="change-master-broker")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
@ExecuteOn(value={DAS,INSTANCE})
@TargetType(value={DAS,STANDALONE_INSTANCE,CLUSTER,CONFIG})
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, MAX_ACTIVE_CONSUMERS_ATTRIBUTE, MAX_ACTIVE_CONSUMERS_PROPERTY, MBEAN_DOMAIN_NAME
 
Constructor Summary
ChangeMasterBrokerCommand()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeMasterBrokerCommand

public ChangeMasterBrokerCommand()
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 interface AdminCommand
Parameters:
context - information


Copyright © 2012 GlassFish Community. All Rights Reserved.