to.etc.iocular.def
Class BuildPlanForStaticFactory

java.lang.Object
  extended by to.etc.iocular.def.AbstractBuildPlan
      extended by to.etc.iocular.def.BuildPlanForStaticFactory
All Implemented Interfaces:
BuildPlan

public class BuildPlanForStaticFactory
extends AbstractBuildPlan


Field Summary
 
Fields inherited from interface to.etc.iocular.container.BuildPlan
EMPTY_PLANS
 
Method Summary
 void dump(IndentWriter iw)
           
 java.lang.Object getObject(BasicContainer bc)
          Execute the plan to *get* the object from
 int getScore()
           
 boolean needsStaticInitialization()
          When T this component has a static (one-time only) initialization requirement.
 void staticStart(BasicContainer c)
          Called as a single-time per container init only if this factory has static initializers.
 
Methods inherited from class to.etc.iocular.def.AbstractBuildPlan
destroy, getInjectorList, hasDestructors, injectProperties, internalDumpSetters, internalDumpStartStop, setDestroyList, setInjectorList, setStartList, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getScore

public int getScore()

getObject

public java.lang.Object getObject(BasicContainer bc)
                           throws java.lang.Exception
Execute the plan to *get* the object from

Specified by:
getObject in interface BuildPlan
Specified by:
getObject in class AbstractBuildPlan
Throws:
java.lang.Exception
See Also:
to.etc.iocular.container.BuildPlan#getObject()

dump

public void dump(IndentWriter iw)
          throws java.io.IOException
Specified by:
dump in interface BuildPlan
Overrides:
dump in class AbstractBuildPlan
Throws:
java.io.IOException

needsStaticInitialization

public boolean needsStaticInitialization()
Description copied from interface: BuildPlan
When T this component has a static (one-time only) initialization requirement.

Specified by:
needsStaticInitialization in interface BuildPlan
Specified by:
needsStaticInitialization in class AbstractBuildPlan
Returns:

staticStart

public void staticStart(BasicContainer c)
                 throws java.lang.Exception
Called as a single-time per container init only if this factory has static initializers.

Specified by:
staticStart in interface BuildPlan
Specified by:
staticStart in class AbstractBuildPlan
Throws:
java.lang.Exception
See Also:
BuildPlan.staticStart(to.etc.iocular.container.BasicContainer)