registerComponentImplementation(componentImplementation, componentImplementation)
.
@param componentImplementation the concrete component class.
@return the ComponentAdapter that has been associated with this component. In the majority of cases, this returnvalue can be safely ignored, as one of the getXXX()
methods of the {@link Container} interface can be used to retrieve a reference to the component later on.
@throws ContainerException if registration fails.
getXXX()
methods of the {@link PicoContainer} interface can be used to retrieve a reference to the component later on.
@throws PicoRegistrationException if registration of the component fails.
@see #registerComponentImplementation(Object,Class,Parameter[]) a variant of this method that allows more controlover the parameters passed into the componentImplementation constructor when constructing an instance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|