enum classafIoc::ServiceLifecycle
sys::Obj sys::Enum afIoc::ServiceLifecycle
@
Serializable { simple=true }
Defines the lifecycle state of a service
- 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.
- DEFINED
const static ServiceLifecycle DEFINED := ...
The service is defined in a module, but has not yet been referenced.
- 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