builder.addListener(verificationHandler);
// set the initial mode and install the service.
newControllers.add(builder.setInitialMode(ServiceController.Mode.ACTIVE).install());
// create the service the initializes the Root POA.
CorbaPOAService rootPOAService = new CorbaPOAService("RootPOA", "poa");
newControllers.add(context.getServiceTarget().addService(CorbaPOAService.SERVICE_NAME.append("rootpoa"), rootPOAService).
addDependency(CorbaORBService.SERVICE_NAME, ORB.class, rootPOAService.getORBInjector()).
addListener(verificationHandler).
setInitialMode(ServiceController.Mode.ACTIVE).install());
// create the service the initializes the interface repository POA.
CorbaPOAService irPOAService = new CorbaPOAService("IRPOA", "irpoa", IdAssignmentPolicyValue.USER_ID,
null, null, LifespanPolicyValue.PERSISTENT, null, null, null);
newControllers.add(context.getServiceTarget().addService(CorbaPOAService.SERVICE_NAME.append("irpoa"), irPOAService).
addDependency(CorbaPOAService.SERVICE_NAME.append("rootpoa"), POA.class,
irPOAService.getParentPOAInjector()).
addListener(verificationHandler).
setInitialMode(ServiceController.Mode.ACTIVE).install());
// create the service that initializes the naming service POA.
CorbaPOAService namingPOAService = new CorbaPOAService("NamingPOA", null, IdAssignmentPolicyValue.USER_ID,
null, null, LifespanPolicyValue.PERSISTENT, null, null, null);
newControllers.add(context.getServiceTarget().addService(CorbaPOAService.SERVICE_NAME.append("namingpoa"), namingPOAService).
addDependency(CorbaPOAService.SERVICE_NAME.append("rootpoa"), POA.class,
namingPOAService.getParentPOAInjector()).
addListener(verificationHandler).
setInitialMode(ServiceController.Mode.ACTIVE).install());
// create the CORBA naming service.
CorbaNamingService namingService = new CorbaNamingService();