com.sun.grid.jgdi
Constructor and Description |
---|
JGDIFactory() |
Modifier and Type | Method and Description |
---|---|
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. |
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
JGDIException
- on any error on the GDI layerpublic 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
JGDIException
- on any error on the GDI layerpublic 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 authenticationCopyright © 2007 Sun Microsystems, Inc. All rights reserved.