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); } }
poa.manager.getFactory().registerRootPOA();
poa.manager.getFactory().registerRootPOA();
POAFactory factory = pm.getFactory(); factory.unregisterPOAForServant(mediator.poa, servant);
POAFactory factory = pm.getFactory(); factory.unregisterPOAForServant(mediator.poa, servant);
newManager = new POAManagerImpl(manager.getFactory(), manager.getPIHandler());
newManager = new POAManagerImpl(manager.getFactory(), manager.getPIHandler());
POAFactory poaf = poam.getFactory(); delegateImpl = (DelegateImpl) (poaf.getDelegateImpl()); this.policies = policies;
POAFactory poaf = poam.getFactory(); delegateImpl = (DelegateImpl) (poaf.getDelegateImpl()); this.policies = policies;