|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.grid.jgdi.management.JGDIAgent
public class JGDIAgent
JGDI JMX agent class.
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 connection
null if the connection id
does not contain a session idpublic static javax.management.ObjectName getObjectNameForSessionMBean(long sessionId)
sessionId - the session id
public static long getSessionIdFromConnectionId(java.lang.String connectionId)
connectionId - the connection id
-1 if the connection id does not contain a session id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||