340341342343344345346347348349350351
return returnValue; } private ORB getORB() { ORBLocator orbHelper = services.getService(ORBLocator.class); if (orb == null) { orb = orbHelper.getORB() ; } return orb ; }
357358359360361362363364365366367368
return returnValue; } private ORB getORB() { ORBLocator orbHelper = habitat.getComponent(ORBLocator.class); if (orb == null) { orb = orbHelper.getORB() ; } return orb ; }
238239240241242243244245246247248249250
habitat = temp ; } private ORB getORB() { if (habitat != null) { ORBLocator orbLocator = habitat.getByContract(ORBLocator.class) ; if (orbLocator != null) { return orbLocator.getORB() ; } } throw new RuntimeException( "Could not get ORB" ) ; }
132133134135136137138139140141142143144
services = temp ; } private ORB getORB() { if (services != null) { ORBLocator orbLocator = services.getService(ORBLocator.class) ; if (orbLocator != null) { return orbLocator.getORB() ; } } throw new RuntimeException( "Could not get ORB" ) ; }