1 10 11 package org.picocontainer.defaults; 12 13 import org.picocontainer.ComponentAdapter; 14 import org.picocontainer.Parameter; 15 import org.picocontainer.PicoIntrospectionException; 16 17 22 public class CachingComponentAdapterFactory extends DecoratingComponentAdapterFactory { 23 public CachingComponentAdapterFactory() { 24 this(null); 25 } 26 27 public CachingComponentAdapterFactory(ComponentAdapterFactory delegate) { 28 super(delegate); 29 } 30 31 public ComponentAdapter createComponentAdapter(Object componentKey, Class componentImplementation, Parameter[] parameters) 32 throws PicoIntrospectionException, AssignabilityRegistrationException, NotConcreteRegistrationException { 33 return new CachingComponentAdapter(super.createComponentAdapter(componentKey, componentImplementation, parameters)); 34 35 } 36 } 37 | Popular Tags |