public abstract class BrooklynDslDeferredSupplier<T> extends java.lang.Object implements DeferredSupplier<T>, TaskFactory<Task<T>>, java.io.Serializable
DeferredSupplier
so that they can be resolved when needed
(e.g. when entity-lookup and execution contexts are available).
implementations of this abstract class are expected to be immutable,
as instances must support usage in multiple Assembly
instances
created from a single AssemblyTemplate
subclasses which return a deferred value are typically only
resolvable in the context of a Task
on an Entity
;
these should be only used as the value of a ConfigKey
set in the YAML,
and should not accessed until after the components / entities are created
and are being started.
(TODO the precise semantics of this are under development.)
Constructor and Description |
---|
BrooklynDslDeferredSupplier() |