org.picocontainer.defaults
Class AbstractComponentAdapter

java.lang.Object
  extended byorg.picocontainer.defaults.AbstractComponentAdapter
All Implemented Interfaces:
ComponentAdapter, Serializable
Direct Known Subclasses:
DefaultComponentAdapter, InstanceComponentAdapter

public abstract class AbstractComponentAdapter
extends Object
implements ComponentAdapter, Serializable

Version:
$Revision: 1.4 $
Author:
Aslak Hellesøy, Jon Tirsén
See Also:
Serialized Form

Constructor Summary
protected AbstractComponentAdapter(Object componentKey, Class componentImplementation)
           
 
Method Summary
 Class getComponentImplementation()
          The component's implementation class.
 Object getComponentKey()
          The component's key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.picocontainer.ComponentAdapter
getComponentInstance
 

Constructor Detail

AbstractComponentAdapter

protected AbstractComponentAdapter(Object componentKey,
                                   Class componentImplementation)
                            throws AssignabilityRegistrationException,
                                   NotConcreteRegistrationException
Method Detail

getComponentKey

public Object getComponentKey()
Description copied from interface: ComponentAdapter
The component's key.

Specified by:
getComponentKey in interface ComponentAdapter
Returns:

getComponentImplementation

public Class getComponentImplementation()
Description copied from interface: ComponentAdapter
The component's implementation class.

Specified by:
getComponentImplementation in interface ComponentAdapter
Returns:


Copyright © 2003 Codehaus. All Rights Reserved.