net.mchaplin.ioc.component
Class DefaultComponentFactory

java.lang.Object
  extended by 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:

Field Summary
protected  ContainerI container
           
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from interface net.mchaplin.ioc.component.ComponentI
CMP_I
 
Constructor Summary
DefaultComponentFactory(ContainerI aContainer)
           
 
Method Summary
 ContainerI getContainer()
          Provide component dependencies lookup facility
 void reset()
          Provide facility for runtime component redeployment
 void setContainer(ContainerI container)
          Dependency injection setter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected transient ContainerI container

log

protected static org.apache.commons.logging.Log log
Constructor Detail

DefaultComponentFactory

public DefaultComponentFactory(ContainerI aContainer)
Method Detail

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.