org.exoplatform.platform.component.jmxclient
Class CommandHandler

java.lang.Object
  extended by org.exoplatform.platform.component.jmxclient.CommandHandler

public class CommandHandler
extends Object


Field Summary
static String beanName
           
static String command
           
static Map<String,Object> environmentMap
           
static String hostname
           
static String hostport
           
static Logger logger
           
static String[] mBeanArguments
           
 
Constructor Summary
CommandHandler()
           
 
Method Summary
static void extractArguments(String[] args)
           
static void invokeOperation(MBeanServerConnection mbsc, ObjectInstance instance, String command, String[] mBeanArguments)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static final Logger logger

environmentMap

public static Map<String,Object> environmentMap

hostname

public static String hostname

hostport

public static String hostport

beanName

public static String beanName

command

public static String command

mBeanArguments

public static String[] mBeanArguments
Constructor Detail

CommandHandler

public CommandHandler()
Method Detail

main

public static void main(String[] args)

extractArguments

public static void extractArguments(String[] args)

invokeOperation

public static void invokeOperation(MBeanServerConnection mbsc,
                                   ObjectInstance instance,
                                   String command,
                                   String[] mBeanArguments)
                            throws Exception
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.