org.picocontainer.defaults
Class InstanceComponentAdapter
java.lang.Object
org.picocontainer.defaults.AbstractComponentAdapter
org.picocontainer.defaults.InstanceComponentAdapter
- All Implemented Interfaces:
- ComponentAdapter, Serializable
- public class InstanceComponentAdapter
- extends AbstractComponentAdapter
- Version:
- $Revision: 1.8 $
- Author:
- Aslak Hellesøy
- See Also:
- Serialized Form
InstanceComponentAdapter
public InstanceComponentAdapter(Object componentKey,
Object componentInstance)
throws AssignabilityRegistrationException,
NotConcreteRegistrationException
getComponentInstance
public Object getComponentInstance()
- Description copied from interface:
ComponentAdapter
- Gets the component instance. This method will usually create
a new instance for each call (an exception is
CachingComponentAdapter
).
- Returns:
- the component instance.
verify
public void verify()
- Description copied from interface:
ComponentAdapter
- Verify that all dependencies for this adapter can be satisifed.
Copyright © 2003-2004 Codehaus. All Rights Reserved.