protected void deactivateHelper(ActiveObjectMap.Key key, AOMEntry entry, Servant s) throws ObjectNotActive, WrongPolicy { // Default does nothing, but the USE_SERVANT_MANAGER case must handle etherealization activeObjectMap.remove(key); if (Util.instance != null) { POAManagerImpl pm = (POAManagerImpl) poa.the_POAManager(); POAFactory factory = pm.getFactory(); factory.unregisterPOAForServant(poa, s); } }
protected void deactivateHelper(ActiveObjectMap.Key key, AOMEntry entry, Servant s) throws ObjectNotActive, WrongPolicy { // Default does nothing, but the USE_SERVANT_MANAGER case must handle etherealization activeObjectMap.remove(key); if (Util.instance != null) { POAManagerImpl pm = (POAManagerImpl) poa.the_POAManager(); POAFactory factory = pm.getFactory(); factory.unregisterPOAForServant(poa, s); } }
protected void activateServant(ActiveObjectMap.Key key, AOMEntry entry, Servant servant) { setDelegate(servant, key.id); if (orb.shutdownDebugFlag) { System.out.println("Activating object " + servant + " with POA " + poa); } activeObjectMap.putServant(servant, entry); if (Util.instance != null) { POAManagerImpl pm = (POAManagerImpl) poa.the_POAManager(); POAFactory factory = pm.getFactory(); factory.registerPOAForServant(poa, servant); } }
protected void activateServant(ActiveObjectMap.Key key, AOMEntry entry, Servant servant) { setDelegate(servant, key.id); if (orb.shutdownDebugFlag) { System.out.println("Activating object " + servant + " with POA " + poa); } activeObjectMap.putServant(servant, entry); if (Util.instance != null) { POAManagerImpl pm = (POAManagerImpl) poa.the_POAManager(); POAFactory factory = pm.getFactory(); factory.registerPOAForServant(poa, servant); } }
mediator.activeObjectMap.remove(key); POAManagerImpl pm = (POAManagerImpl) mediator.poa.the_POAManager(); POAFactory factory = pm.getFactory(); factory.unregisterPOAForServant(mediator.poa, servant);
mediator.activeObjectMap.remove(key); POAManagerImpl pm = (POAManagerImpl) mediator.poa.the_POAManager(); POAFactory factory = pm.getFactory(); factory.unregisterPOAForServant(mediator.poa, servant);
throw poa.invocationWrapper().singleThreadNotSupported(); POAManagerImpl poam = (POAManagerImpl) (poa.the_POAManager()); POAFactory poaf = poam.getFactory(); delegateImpl = (DelegateImpl) (poaf.getDelegateImpl());
throw poa.invocationWrapper().singleThreadNotSupported(); POAManagerImpl poam = (POAManagerImpl) (poa.the_POAManager()); POAFactory poaf = poam.getFactory(); delegateImpl = (DelegateImpl) (poaf.getDelegateImpl());