|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.grid.jgdi.JGDIFactory
public class JGDIFactory
Factory class for JGDI
objects.
com.sun.grid.jgdi.JGDI
Constructor Summary | |
---|---|
JGDIFactory()
|
Method Summary | |
---|---|
static EventClientImpl |
createEventClient(java.lang.String url,
int evcId)
Create a new event client which receives events from a jgdi connection. |
static java.lang.String |
getJGDIVersion()
return the jgdi shared library version string, e.g. |
static JGDI |
newInstance(java.lang.String url)
Get a new instance of a JGDI object. |
static JGDIProxy |
newJMXInstance(java.lang.String host,
int port,
java.lang.Object credentials)
Create a proxy object to the JGDI MBean. |
static JGDI |
newSynchronizedInstance(java.lang.String url)
Get a synchronized instance of a JGDI object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JGDIFactory()
Method Detail |
---|
public static JGDI newInstance(java.lang.String url) throws JGDIException
JGDI
object.
url
- JGDI connection url in the form
bootstrap://<SGE_ROOT>@<SGE_CELL>:<SGE_QMASTER_PORT>
JGDI instance
- Throws:
JGDIException
- on any error on the GDI layer
public static JGDI newSynchronizedInstance(java.lang.String url) throws JGDIException
JGDI
object.
url
- JGDI connection url in the form
bootstrap://<SGE_ROOT>@<SGE_CELL>:<SGE_QMASTER_PORT>
JGDI instance
- Throws:
JGDIException
- on any error on the GDI layer- Since:
- 0.91
public static EventClientImpl createEventClient(java.lang.String url, int evcId) throws JGDIException
url
- JGDI connection url in the form
bootstrap://<SGE_ROOT>@<SGE_CELL>:<SGE_QMASTER_PORT>
evcId
- id of the event client (0 mean dynamically assigned)
JGDIException
public static java.lang.String getJGDIVersion()
public static JGDIProxy newJMXInstance(java.lang.String host, int port, java.lang.Object credentials)
host
- the qmaster hostport
- port where qmasters MBeanServer is listeningcredentials
- credentials for authentication
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |