353354355356357358359360361
container_.dispose(); final List list = container_.getComponentInstancesOfType(IContainer.class); for (Iterator i = list.iterator(); i.hasNext();) { IContainer element = (IContainer) i.next(); element.destroy(); } }
325326327328329330331332333
List list = container_.getComponentInstancesOfType(IContainer.class); for (Iterator i = list.iterator(); i.hasNext();) { IContainer element = (IContainer) i.next(); element.destroy(); } }
8182838485868788899091
_container.registerComponentImplementation(DefaultFilterFactoryDelegate.class); _container.registerComponentImplementation(FilterFactoryImpl.class); _container.registerComponentInstance(IContainer.class, new IContainer() { public MutablePicoContainer getContainer() { return _container; }
354355356357358359360361362
5657585960616263646566
//////////////////////////////////////// public void setUpTest() throws Exception { IContainer container = new IContainer() { public MutablePicoContainer getContainer() { return getPicoContainer(); }
6263646566676869707172
protected void setUpTest() throws Exception { controlConfiguration_ = MockControl.createControl(Configuration.class); iContainerForTest_ = new IContainer() { public MutablePicoContainer getContainer() { return getPicoContainer(); }