org.apache.lokahi.core.agent.jmx
Class JMXConnect

java.lang.Object
  extended by org.apache.lokahi.core.agent.jmx.JMXConnect

Deprecated.

public class JMXConnect
extends java.lang.Object

Version:
$Id: JMXConnect.java,v 1.1 2006/03/02 19:19:41 drtobes Exp $
Author:
Stephen Toback

Method Summary
static javax.management.MBeanServerConnection connect(int pid)
          Deprecated.  
static javax.management.MBeanServerConnection connect(java.lang.String JMXurl)
          Deprecated.  
static java.util.ArrayList<JMXVirtualMachine> getAllJMXVirtualMachines()
          Deprecated.  
static java.lang.String getJMXUrl(int pid)
          Deprecated.  
static void getMBeanAttributes(javax.management.MBeanInfo info)
          Deprecated.  
static void getMBeanOperations(javax.management.MBeanInfo info)
          Deprecated.  
static JMXVirtualMachine getVirtualMachine(int pid, java.lang.String commandLineArgs, java.lang.String vmArgs)
          Deprecated.  
static void main(java.lang.String[] args)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAllJMXVirtualMachines

public static java.util.ArrayList<JMXVirtualMachine> getAllJMXVirtualMachines()
Deprecated. 


getVirtualMachine

public static JMXVirtualMachine getVirtualMachine(int pid,
                                                  java.lang.String commandLineArgs,
                                                  java.lang.String vmArgs)
Deprecated. 


getJMXUrl

public static java.lang.String getJMXUrl(int pid)
                                  throws java.io.IOException
Deprecated. 

Parameters:
pid -
Returns:
Throws:
java.io.IOException

getMBeanAttributes

public static void getMBeanAttributes(javax.management.MBeanInfo info)
Deprecated. 

Parameters:
info -

getMBeanOperations

public static void getMBeanOperations(javax.management.MBeanInfo info)
Deprecated. 

Parameters:
info -

connect

public static javax.management.MBeanServerConnection connect(java.lang.String JMXurl)
                                                      throws java.io.IOException
Deprecated. 

Parameters:
JMXurl -
Returns:
Throws:
java.io.IOException

connect

public static javax.management.MBeanServerConnection connect(int pid)
                                                      throws java.io.IOException
Deprecated. 

Parameters:
pid -
Returns:
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.ClassNotFoundException,
                        java.lang.IllegalAccessException,
                        java.lang.reflect.InvocationTargetException,
                        java.lang.InstantiationException,
                        TMCTaskException,
                        java.util.concurrent.ExecutionException,
                        java.lang.InterruptedException
Deprecated. 

Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InstantiationException
TMCTaskException
java.util.concurrent.ExecutionException
java.lang.InterruptedException