Class ConstructionPlan<T>
java.lang.Object
org.apache.tapestry5.ioc.internal.util.ConstructionPlan<T>
- All Implemented Interfaces:
ObjectCreator<T>
Encapsulates the initial construction of an object instance, followed by a series
InitializationPlan
s to initialize fields and invoke other methods of the constructed object.- Since:
- 5.3
-
Constructor Summary
ConstructorsConstructorDescriptionConstructionPlan
(OperationTracker tracker, String description, Invokable<T> instanceConstructor) -
Method Summary
-
Constructor Details
-
ConstructionPlan
public ConstructionPlan(OperationTracker tracker, String description, Invokable<T> instanceConstructor)
-
-
Method Details
-
add
-
createObject
Description copied from interface:ObjectCreator
Create and return the object. In some limited circumstances, the implementation may cache the result, returning the same object for repeated calls.- Specified by:
createObject
in interfaceObjectCreator<T>
-