enum classafIoc::ServiceLifecycle
sys::Obj sys::Enum afIoc::ServiceLifecycle
@
Serializable { simple=true }
Defines the lifecycle state of a service
@since 1.2.0
- BUILTIN
const static ServiceLifecycle BUILTIN := ...
Builtin services exist before the Registry is constructed.
- CREATED
const static ServiceLifecycle CREATED := ...
A service implementation for the service has been created. It is real!
- DEFINED
const static ServiceLifecycle DEFINED := ...
The service is defined in a module, but has not yet been referenced.
- VIRTUAL
const static ServiceLifecycle VIRTUAL := ...
A proxy has been created for the service, but the implementation itself no methods of the proxy have been invoked.
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the ServiceLifecycle instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- vals
const static ServiceLifecycle[] vals := ...
List of ServiceLifecycle values indexed by ordinal