public abstract class AbstractBuildPlan extends Object implements BuildPlan
EMPTY_PLANS| Constructor and Description |
|---|
AbstractBuildPlan() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(BasicContainer bc,
Object self)
Call the before-destruction methods specified for this object.
|
void |
dump(IndentWriter iw) |
List<PropertyInjector> |
getInjectorList() |
abstract Object |
getObject(BasicContainer c) |
boolean |
hasDestructors() |
protected void |
injectProperties(Object instance,
BasicContainer bc) |
protected void |
internalDumpSetters(IndentWriter iw) |
protected void |
internalDumpStartStop(IndentWriter iw) |
abstract boolean |
needsStaticInitialization()
When T this component has a static (one-time only) initialization requirement.
|
void |
setDestroyList(MethodInvoker[] destroyList) |
void |
setInjectorList(List<PropertyInjector> injectorList) |
void |
setStartList(MethodInvoker[] startList) |
void |
start(BasicContainer bc,
Object self)
Call the after-construction methods specified for this object (start methods).
|
abstract void |
staticStart(BasicContainer c)
When this has a static initializer this should execute it.
|
public abstract Object getObject(BasicContainer c) throws Exception
public abstract boolean needsStaticInitialization()
BuildPlanneedsStaticInitialization in interface BuildPlanpublic abstract void staticStart(BasicContainer c) throws Exception
BuildPlanstaticStart in interface BuildPlanExceptionpublic List<PropertyInjector> getInjectorList()
public void setInjectorList(List<PropertyInjector> injectorList)
public void dump(IndentWriter iw) throws IOException
dump in interface BuildPlanIOExceptionprotected void injectProperties(Object instance, BasicContainer bc) throws Exception
Exceptionprotected void internalDumpSetters(IndentWriter iw) throws IOException
IOExceptionprotected void internalDumpStartStop(IndentWriter iw) throws IOException
IOExceptionpublic void destroy(BasicContainer bc, Object self)
BuildPlanpublic void setDestroyList(MethodInvoker[] destroyList)
public void setStartList(MethodInvoker[] startList)
public boolean hasDestructors()
hasDestructors in interface BuildPlanpublic void start(BasicContainer bc, Object self) throws Exception
BuildPlanCopyright © 2017 etc.to. All rights reserved.