public interface CompleteConstructionAndStart
class Example{ private final Listcomposites = new LinkedList (); Example(){ AnyComposite comps = new AnyComposite(param, existingAggregations); composites.add(variableMng); this.comps = comps; //maybe cast to an interface type. }
Modifier and Type | Method and Description |
---|---|
void |
completeConstruction()
This routine should be called after all instances were created.
|
void |
startupThreads()
This routine should be called from the main builder and then all children if the
completeConstruction() was called for all. |
void completeConstruction()
void startupThreads()
completeConstruction()
was called for all.
It should implement starting of threads, if necessary. Or assign start data.