|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.iocular.def.AbstractBuildPlan
public abstract class AbstractBuildPlan
Internal abstract base for most build plans. It only implements the property injection part of creating an object.
Field Summary |
---|
Fields inherited from interface to.etc.iocular.container.BuildPlan |
---|
EMPTY_PLANS |
Constructor Summary | |
---|---|
AbstractBuildPlan()
|
Method Summary | |
---|---|
void |
destroy(BasicContainer bc,
java.lang.Object self)
Call the before-destruction methods specified for this object. |
void |
dump(IndentWriter iw)
|
java.util.List<PropertyInjector> |
getInjectorList()
|
abstract java.lang.Object |
getObject(BasicContainer c)
|
boolean |
hasDestructors()
|
protected void |
injectProperties(java.lang.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(java.util.List<PropertyInjector> injectorList)
|
void |
setStartList(MethodInvoker[] startList)
|
void |
start(BasicContainer bc,
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractBuildPlan()
Method Detail |
---|
public abstract java.lang.Object getObject(BasicContainer c) throws java.lang.Exception
getObject
in interface BuildPlan
java.lang.Exception
public abstract boolean needsStaticInitialization()
BuildPlan
needsStaticInitialization
in interface BuildPlan
public abstract void staticStart(BasicContainer c) throws java.lang.Exception
BuildPlan
staticStart
in interface BuildPlan
java.lang.Exception
public java.util.List<PropertyInjector> getInjectorList()
public void setInjectorList(java.util.List<PropertyInjector> injectorList)
public void dump(IndentWriter iw) throws java.io.IOException
dump
in interface BuildPlan
java.io.IOException
protected void injectProperties(java.lang.Object instance, BasicContainer bc) throws java.lang.Exception
java.lang.Exception
protected void internalDumpSetters(IndentWriter iw) throws java.io.IOException
java.io.IOException
protected void internalDumpStartStop(IndentWriter iw) throws java.io.IOException
java.io.IOException
public void destroy(BasicContainer bc, java.lang.Object self)
BuildPlan
destroy
in interface BuildPlan
public void setDestroyList(MethodInvoker[] destroyList)
public void setStartList(MethodInvoker[] startList)
public boolean hasDestructors()
hasDestructors
in interface BuildPlan
public void start(BasicContainer bc, java.lang.Object self) throws java.lang.Exception
BuildPlan
start
in interface BuildPlan
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |