enum classafIoc::ServiceLifecycle

sys::Obj
  sys::Enum
    afIoc::ServiceLifecycle

@Serializable { simple=true }

Defines the lifecycle state of a service

@since 1.2.0

BUILTIN

Source

const static ServiceLifecycle BUILTIN := ...

Builtin services exist before the Registry is constructed.

CREATED

Source

const static ServiceLifecycle CREATED := ...

A service implementation for the service has been created. It is real!

DEFINED

Source

const static ServiceLifecycle DEFINED := ...

The service is defined in a module, but has not yet been referenced.

VIRTUAL

Source

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

Source

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

Source

const static ServiceLifecycle[] vals := ...

List of ServiceLifecycle values indexed by ordinal