public void unregisterObject(ActivationID id) throws ActivationException, RemoteException { LocalAccess.check(); impl.unregisterObject(id); }
public ActivationMonitor activeGroup(ActivationGroupID id, ActivationInstantiator group, long incarnation) throws ActivationException, RemoteException { LocalAccess.check(); return impl.activeGroup(id, group, incarnation); }
public ActivationGroupID registerGroup(ActivationGroupDesc desc) throws ActivationException, RemoteException { LocalAccess.check(); if (policy != null) { policy.checkGroup(desc); } return impl.registerGroup(desc); }
ActivationGroupID gid = null; try { gid = sys.registerGroup( new ActivationGroupDesc(getServerProperties(), cmdToExecute)); } catch (Exception e) { try { if (gid != null) sys.unregisterGroup(gid); } catch (Exception ee) {
public ActivationID registerObject(ActivationDesc desc) throws ActivationException, RemoteException { LocalAccess.check(); return impl.registerObject(desc); }
public void unregisterGroup(ActivationGroupID id) throws ActivationException, RemoteException { LocalAccess.check(); impl.unregisterGroup(id); }
public ActivationDesc getActivationDesc(ActivationID id) throws ActivationException, RemoteException { LocalAccess.check(); return impl.getActivationDesc(id); }
"Registering descriptor with activation: {0}", adesc); ActivationID aid = sys.registerObject(adesc);
public void destroy() throws RemoteException { try { activationSystem.unregisterObject(activationID); logger.log(Level.FINEST, "Unregistered object with activation system"); } catch (ActivationException e) { /* * Activation system is shutting down or this * object has already been unregistered -- * ignore in either case. */ logger.log(Levels.HANDLED, "Unable to unregister object with activation system", e); } super.destroy(); }
"Registering descriptor with activation: {0}", adesc); ActivationID aid = sys.registerObject(adesc); logger.exiting(ActivateWrapper.class.getName(), "register", aid); return aid;
void export() throws NoSuchObjectException, ExportException, RemoteException, UnknownGroupException, ActivationException { synchronized (AbstractActivationGroup.class) { if (state != CREATING) { throw new ActivationException("not called from createGroup"); } if (refuseCalls) { unexportObject(this, true); refuseCalls = false; } proxy = (ActivationInstantiator) exporter.export(this); try { monitor = (ActivationMonitor) monPreparer.prepareProxy( id.getSystem().activeGroup(id, proxy, incarnation)); state = CREATED; } finally { if (state != CREATED) { exporter.unexport(true); } } monPreparer = null; } }
public void destroy() throws RemoteException { concurrentObj.priorityWriteLock(); try { ready.check(); logger.info("starting Reggie shutdown"); /* unregister with activation system if activatable */ if (activationID != null) { try { activationSystem.unregisterObject(activationID); } catch (ActivationException e) { logger.log(Levels.HANDLED, "exception unregistering activation ID", e); } catch (RemoteException e) { logger.log(Level.WARNING, "aborting Reggie shutdown", e); throw e; } } ready.shutdown(); new DestroyThread().start(); } finally { concurrentObj.writeUnlock(); } }
activationSystem.unregisterObject(activationID); } catch (RemoteException e) { if (ADMIN_LOGGER.isLoggable(Level.WARNING)) {
activationSystem.unregisterObject(activationID); } catch (RemoteException e) {
activationSystem.unregisterObject(activationID); } catch (RemoteException e) { problemLogger.log(Level.WARNING, "aborting shutdown - "
try { if (aid != null) sys.unregisterObject(aid); } catch (Exception ee) {
if (aid != null) sys.unregisterObject(aid); } catch (Exception ee) {