1 10 package org.picocontainer.defaults; 11 12 13 import org.picocontainer.ComponentAdapter; 14 import org.picocontainer.PicoContainer; 15 import org.picocontainer.PicoInitializationException; 16 import org.picocontainer.PicoIntrospectionException; 17 18 23 public class SynchronizedComponentAdapter extends DecoratingComponentAdapter { 24 public SynchronizedComponentAdapter(ComponentAdapter delegate) { 25 super(delegate); 26 } 27 28 public synchronized Object getComponentInstance(PicoContainer container) throws PicoInitializationException, PicoIntrospectionException { 29 return super.getComponentInstance(container); 30 } 31 } 32 | Popular Tags |