public void registerRootPOA() { // We delay the evaluation of makeRootPOA until a call to resolve_initial_references( "RootPOA" ). The Future // guarantees that makeRootPOA is only called once. Closure rpClosure = new Closure() { public Object evaluate() { return POAImpl.makeRootPOA(orb); } }; orb.getLocalResolver().register(ORBConstants.ROOT_POA_NAME, ClosureFactory.makeFuture(rpClosure)); }
public void registerRootPOA() { // We delay the evaluation of makeRootPOA until a call to resolve_initial_references( "RootPOA" ). The Future // guarantees that makeRootPOA is only called once. Closure rpClosure = new Closure() { public Object evaluate() { return POAImpl.makeRootPOA(orb); } }; orb.getLocalResolver().register(ORBConstants.ROOT_POA_NAME, ClosureFactory.makeFuture(rpClosure)); }
public void init(ORB orb) { this.orb = orb; wrapper = POASystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); omgWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); delegateImpl = new DelegateImpl(orb, this); registerRootPOA(); POACurrent poaCurrent = new POACurrent(orb); orb.getLocalResolver().register(ORBConstants.POA_CURRENT_NAME, ClosureFactory.makeConstant(poaCurrent)); }
public void init(ORB orb) { this.orb = orb; wrapper = POASystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); omgWrapper = OMGSystemException.get(orb, CORBALogDomains.OA_LIFECYCLE); delegateImpl = new DelegateImpl(orb, this); registerRootPOA(); POACurrent poaCurrent = new POACurrent(orb); orb.getLocalResolver().register(ORBConstants.POA_CURRENT_NAME, ClosureFactory.makeConstant(poaCurrent)); }