net.mchaplin.ioc.component
Class DefaultComponentFactory
java.lang.Object
net.mchaplin.ioc.component.DefaultComponentFactory
- All Implemented Interfaces:
- ComponentI
- Direct Known Subclasses:
- RmiServerFactory
public class DefaultComponentFactory
- extends java.lang.Object
- implements ComponentI
Delegate class for components instanciation
- Author:
- mchaplin@users.sourceforge.net
$Header$Revision$Date:
Fields inherited from interface net.mchaplin.ioc.component.ComponentI |
CMP_I |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected transient ContainerI container
log
protected static org.apache.commons.logging.Log log
DefaultComponentFactory
public DefaultComponentFactory(ContainerI aContainer)
getContainer
public ContainerI getContainer()
- Description copied from interface:
ComponentI
- Provide component dependencies lookup facility
- Specified by:
getContainer
in interface ComponentI
- Returns:
- the Container that holds this Component.
reset
public void reset()
- Description copied from interface:
ComponentI
- Provide facility for
runtime component redeployment
- Specified by:
reset
in interface ComponentI
setContainer
public void setContainer(ContainerI container)
- Description copied from interface:
ComponentI
- Dependency injection setter
- Specified by:
setContainer
in interface ComponentI
Copyright © 2004-2005 mchaplin.net. All Rights Reserved.