to.etc.iocular.def
Class BuildPlanForContainerParameter
java.lang.Object
to.etc.iocular.def.AbstractBuildPlan
to.etc.iocular.def.BuildPlanForContainerParameter
- All Implemented Interfaces:
- BuildPlan
public class BuildPlanForContainerParameter
- extends AbstractBuildPlan
A build plan definition to obtain a parameter-based object from a container. This version merely obtains
a simple object from the container.
- Author:
- Frits Jalvingh
Created on May 15, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildPlanForContainerParameter
public BuildPlanForContainerParameter(java.lang.Class<?> actualType,
java.util.List<java.lang.String> nameList)
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
getObject
public java.lang.Object getObject(BasicContainer c)
throws java.lang.Exception
- Obtain this parameter from the container.
- Specified by:
getObject
in interface BuildPlan
- Specified by:
getObject
in class AbstractBuildPlan
- Throws:
java.lang.Exception
- See Also:
BuildPlan.getObject(to.etc.iocular.container.BasicContainer)
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
- Description copied from interface:
BuildPlan
- When this has a static initializer this should execute it. This gets called before an actual object
is created from this definition.
- Specified by:
staticStart
in interface BuildPlan
- Specified by:
staticStart
in class AbstractBuildPlan
- Throws:
java.lang.Exception