this.owner = owner;
}
protected JGDI getJGDI() throws JGDIException {
log.entering("JGDIJMXBase", "getJGDI");
JGDISession session = JGDISession.getCurrentSession();
if (session.getId() != owner.getId()) {
throw new SecurityException("Session " + session.getId() + " has no permission to mbean of session " + owner.getId());
}
JGDI ret = owner.getJGDI();
log.exiting("JGDIJMXBase", "getJGDI", ret);
return ret;
}