org.picocontainer.defaults
Class SynchronizedComponentAdapter
java.lang.Object
org.picocontainer.defaults.DecoratingComponentAdapter
org.picocontainer.defaults.SynchronizedComponentAdapter
- All Implemented Interfaces:
- ComponentAdapter, Serializable
- public class SynchronizedComponentAdapter
- extends DecoratingComponentAdapter
- Version:
- $Revision: 1.6 $
- Author:
- Aslak Hellesøy, Manish Shah
- See Also:
- Serialized Form
SynchronizedComponentAdapter
public SynchronizedComponentAdapter(ComponentAdapter delegate)
getComponentInstance
public Object getComponentInstance(PicoContainer container)
throws PicoInitializationException,
PicoIntrospectionException
- Description copied from interface:
ComponentAdapter
- Retrieve the component instance. This method will usually create a new instance each time it is called, but that
is not required. For example,
CachingComponentAdapter
will always return the
same instance.
- Specified by:
getComponentInstance
in interface ComponentAdapter
- Overrides:
getComponentInstance
in class DecoratingComponentAdapter
- Throws:
PicoInitializationException
PicoIntrospectionException
Copyright © 2003-2004 Codehaus. All Rights Reserved.