public void verify() throws PicoVerificationException { delegate.verify(); } }
public void verify(PicoContainer container) throws PicoIntrospectionException { delegate.verify(container); }
public void visitComponentAdapter(ComponentAdapter componentAdapter) { super.visitComponentAdapter(componentAdapter); if (!verifiedComponentAdapters.contains(componentAdapter)) { try { componentAdapter.verify(currentPico); } catch (RuntimeException e) { nestedVerificationExceptions.add(e); } componentAdapter.accept(componentAdapterCollector); } }
public void verify(PicoContainer container, ComponentAdapter adapter, Class expectedType) { final ComponentAdapter componentAdapter = resolveAdapter(container, adapter, expectedType); if (componentAdapter == null) { final HashSet set = new HashSet(); set.add(expectedType); throw new UnsatisfiableDependenciesException(adapter, set, container); } componentAdapter.verify(container); }
for (final Iterator iter = componentAdapters.iterator(); iter.hasNext();) { final ComponentAdapter componentAdapter = (ComponentAdapter) iter.next(); componentAdapter.verify(container);