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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitverifypublic 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.