public boolean targetMustExist() throws NamingException, RemoteException { return edelegate.targetMustExist(); } }
public boolean targetMustExist() throws NamingException { if((naming instanceof NamingEvents) == false) { throw new UnsupportedOperationException("Naming implementation does not support NamingExt"); } NamingEvents next = (NamingEvents) naming; boolean targetMustExist = true; try { targetMustExist = next.targetMustExist(); } catch (RemoteException e) { CommunicationException ce = new CommunicationException("removeNamingListener failed"); ce.initCause(e); } return targetMustExist; } // End EventContext methods