* @return the jgdi object
* @throws com.sun.grid.jgdi.JGDIException if the jgdi object could not be created
*/
public JGDI getJGDI() throws JGDIException {
log.entering("JGDISession", "getJGDI");
JGDI ret = null;
lock.lock();
try {
if (closed) {
JGDIException ex = new JGDIException("session already closed");
log.throwing("JGDISession", "getJGDI", ex);