public static final class DefaultPicoContainer.InstanceComponentAdapter extends AbstractComponentAdapter
Constructor and Description |
---|
InstanceComponentAdapter(java.lang.Object componentKey,
java.lang.Object componentInstance) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getComponentInstance(PicoContainer container) |
checkTypeCompatibility, getComponentImplementation, getComponentKey, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
verify
public InstanceComponentAdapter(java.lang.Object componentKey, java.lang.Object componentInstance) throws AssignabilityRegistrationException
public java.lang.Object getComponentInstance(PicoContainer container)
container
- the PicoContainer
, that is used to resolve any possible dependencies of the instance.