public class JGDIAgent
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Method and Description |
|---|---|
static java.io.File |
getCaTop() |
static java.io.File |
getJmxDir() |
static javax.management.ObjectName |
getObjectNameForSessionMBean(long sessionId)
Get the name of the session mbean
|
static javax.management.ObjectName |
getObjectNameFromConnectionId(java.lang.String connectionId)
Get the name of the session mbean
|
static long |
getSessionIdFromConnectionId(java.lang.String connectionId)
Get the session id out of the connection id
|
static java.lang.String |
getSgeCell() |
static java.io.File |
getSgeRoot() |
static java.lang.String |
getUrl() |
static void |
main(java.lang.String[] args) |
void |
run() |
static void |
shutdown()
Shutdown the JGDIAgent
|
static void |
start() |
void |
startMBeanServer() |
static void |
stop() |
public void startMBeanServer()
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.String getUrl()
public static java.io.File getCaTop()
public static java.io.File getSgeRoot()
public static java.lang.String getSgeCell()
public static java.io.File getJmxDir()
public void run()
run in interface java.lang.Runnablepublic static void main(java.lang.String[] args)
public static void shutdown()
public static void start()
public static void stop()
public static javax.management.ObjectName getObjectNameFromConnectionId(java.lang.String connectionId)
connectionId - the id of the jmx connectionnull if the connection id
does not contain a session idpublic static javax.management.ObjectName getObjectNameForSessionMBean(long sessionId)
sessionId - the session idpublic static long getSessionIdFromConnectionId(java.lang.String connectionId)
connectionId - the connection id-1 if the connection id does not contain a session idCopyright © 2007 Sun Microsystems, Inc. All rights reserved.