public NotificationTestCaseSetup() throws Exception { ifrServerSetup = new IFRServerSetup( TestUtils.testHome() + "/src/test/idl/TypedNotification.idl", null, null); ORBSetUp(); serverORB = ORB.init(new String[0], orbProps); POAHelper.narrow(serverORB.resolve_initial_references("RootPOA")).the_POAManager().activate(); container_ = PicoContainerFactory.createRootContainer((org.jacorb.orb.ORB) serverORB); container_.unregisterComponent(Repository.class); container_.registerComponent( new AbstractComponentAdapter(Repository.class, Repository.class) { public Object getComponentInstance(PicoContainer picocontainer) throws PicoInitializationException, PicoIntrospectionException { try { return getRepository(); } catch (Exception e) { throw new RuntimeException(e); } } public void verify(PicoContainer picocontainer) throws PicoIntrospectionException {} }); testUtils_ = new NotificationTestUtils(getServerORB()); POAHelper.narrow(orb.resolve_initial_references("RootPOA")).the_POAManager().activate(); }