|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.grid.jgdi.management.JGDISession
public class JGDISession
Session for a JMX connection to JGDI
| Method Summary | |
|---|---|
void |
close()
Close this jgdi session |
static void |
closeAllSessions()
Close all jgdi sessions |
static JGDISession |
closeSession(long sessionId)
Close a jgdi session. |
static JGDISession |
createNewSession(long sessionId,
java.lang.String url)
Create a new jgdi session |
static JGDISession |
getCurrentSession()
Get the jgdi session from the security context |
long |
getId()
get the id of the session |
JGDI |
getJGDI()
Get the jgdi object of this session |
NotificationBridge |
getNotificationBridge()
Get the notification bridge of this session |
boolean |
isClosed()
is this session already closed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public JGDI getJGDI()
throws JGDIException
JGDIException - if the jgdi object could not be createdpublic NotificationBridge getNotificationBridge()
public void close()
public boolean isClosed()
true if this session is already closed
public static JGDISession getCurrentSession()
throws JGDIException
JGDIException - new jgdi session has been found in the security contextpublic static JGDISession closeSession(long sessionId)
sessionId - id of the session
null if the session does
not exist or if the session has been already closed
public static JGDISession createNewSession(long sessionId,
java.lang.String url)
sessionId - id of the sessionurl - jgdi connection url
null if a session with this id already existspublic static void closeAllSessions()
public long getId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||