org.picocontainer.internals
Class ComponentSpecification
java.lang.Object
org.picocontainer.internals.ComponentSpecification
- All Implemented Interfaces:
- Serializable
- public class ComponentSpecification
- extends Object
- implements Serializable
- See Also:
- Serialized Form
ComponentSpecification
public ComponentSpecification(ComponentFactory componentFactory,
Object componentKey,
Class comp,
Parameter[] parameters)
ComponentSpecification
public ComponentSpecification(ComponentFactory componentFactory,
Object componentKey,
Class comp)
throws PicoIntrospectionException
createDefaultParameter
protected Parameter createDefaultParameter()
getComponentKey
public Object getComponentKey()
getComponentImplementation
public Class getComponentImplementation()
instantiateComponent
public Object instantiateComponent(ComponentRegistry componentRegistry)
throws PicoInitializationException
- Throws:
PicoInitializationException
isAssignableFrom
public static boolean isAssignableFrom(Class actual,
Class requested)
addConstantParameterBasedOnType
public void addConstantParameterBasedOnType(Class parameter,
Object arg)
throws PicoIntrospectionException
- Throws:
PicoIntrospectionException
getParameters
public Parameter[] getParameters()
equals
public boolean equals(Object object)
Copyright © 2003 Codehaus. All Rights Reserved.