net.mchaplin.ioc.component
Class DefaultComponent

java.lang.Object
  extended by net.mchaplin.commons.WmindObject
      extended by net.mchaplin.ioc.component.DefaultComponent
All Implemented Interfaces:
ComponentI
Direct Known Subclasses:
RmiServer, Service

public abstract class DefaultComponent
extends WmindObject
implements ComponentI

Default, ready-to-use ComponentI implementation

Author:
mchaplin@users.sourceforge.net $Header: $Revision: $Date:

Field Summary
protected  ContainerI container
           
 
Fields inherited from class net.mchaplin.commons.WmindObject
EX_CAUSE, EX_STACK, log, METHOD_CALL, propertyHelper, STACK_PREFIX
 
Fields inherited from interface net.mchaplin.ioc.component.ComponentI
CMP_I
 
Constructor Summary
DefaultComponent()
           
 
Method Summary
 ContainerI getContainer()
          Provide component dependencies lookup facility
 void reset()
          Provide facility for runtime component redeployment
 void setContainer(ContainerI aContainer)
          Dependency injection setter
 
Methods inherited from class net.mchaplin.commons.WmindObject
printInheritance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected ContainerI container
Constructor Detail

DefaultComponent

public DefaultComponent()
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.
See Also:
ComponentI.getContainer()

setContainer

public void setContainer(ContainerI aContainer)
Description copied from interface: ComponentI
Dependency injection setter

Specified by:
setContainer in interface ComponentI
See Also:
ComponentI.setContainer(net.mchaplin.ioc.ContainerI)

reset

public void reset()
Description copied from interface: ComponentI
Provide facility for runtime component redeployment

Specified by:
reset in interface ComponentI
See Also:
ComponentI.reset()


Copyright © 2004-2005 mchaplin.net. All Rights Reserved.