DefaultDarwinSystem class
- Inheritance
-
- Object
- DarwinSystemBase
- DarwinSystem
- DefaultDarwinSystem
- Available extensions
- Annotations
-
- @Deprecated("Extend DarwinSystem instead")
Constructors
Properties
-
applicationArgs
↔ List<
String> -
getter/setter pairinherited
- beanMixin → DarwinSystemBeanMixin
-
Available on DarwinSystemBase, provided by the DarwinSystemExtensions extension
no setter - configurationSource ↔ ConfigurationSource
-
getter/setter pairinherited
-
configurationSourceList
↔ List<
ConfigurationSource> ? -
getter/setter pairinherited
-
daemons
↔ List<
Future> -
getter/setter pairinherited
- darwinSystemModule ↔ Module
-
getter/setter pairinherited
- eventbus ↔ EventBus
-
getter/setter pairinherited
- handler ↔ LogHandler
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- injector ↔ Injector
-
getter/setter pairinherited
- isDebug ↔ bool
-
getter/setter pairinherited
- level ↔ Level
-
getter/setter pairinherited
- lifecycleState ↔ SystemLifecycleState
-
The current lifecycle start of this service system.
Modifications to this systems state must be made at
SystemLifecycleState.initial or after the startup
at SystemLifecycleState.started.
getter/setter pairinherited
- logger ↔ Logger
-
getter/setter pairinherited
- loggingMixin → DarwinSystemLoggingMixin
-
Available on DarwinSystemBase, provided by the DarwinSystemExtensions extension
no setter - pluginMixin → DarwinSystemPluginMixin
-
Available on DarwinSystemBase, provided by the DarwinSystemExtensions extension
no setter -
plugins
→ List<
DarwinPlugin> -
finalinherited
- profile ↔ String?
-
The execution profile of the application.
getter/setter pairinherited
- profileMixin → DarwinSystemProfileMixin
-
Available on DarwinSystemBase, provided by the DarwinSystemExtensions extension
no setter -
runningServices
↔ List<
RunningService> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceDescriptors
→ List<
ServiceDescriptor> -
finalinherited
- serviceMixin → DarwinSystemServiceMixin
-
Available on DarwinSystemBase, provided by the DarwinSystemExtensions extension
no setter
Methods
-
checkDebug(
) → void -
inherited
-
configurePlugins(
) → Stream< ServiceDescriptor> -
inherited
-
createLogger(
String name) → Logger -
Creates a detached
Logger
with the specifiedname
, that is linked to the handler and has configured soundLevel
of level.inherited -
enableLogging(
) → void -
inherited
-
findDescriptors(
Type type) → List< ServiceDescriptor> -
Returns all service descriptors which bind to
type
.inherited -
findDescriptorsExact(
Type type) → List< ServiceDescriptor> -
Returns all service descriptors which have the implementation class
type
.inherited -
findServices(
Type type) → List< RunningService> -
Returns all running services which are bound to
type
.inherited -
findServicesExact(
Type type) → List< RunningService> -
Returns all running services which have the implementation class
type
.inherited -
findServicesWithDescriptor(
ServiceDescriptor descriptor) → List< RunningService> -
Returns all running services which have the associated
descriptor
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepare(
DarwinSystemGeneratedArgs generated, DarwinSystemUserArgs user) → Future< void> -
inherited
-
registerBean(
Bean bean, FutureOr func()) → void -
Registers a
bean
at runtime with its supplier functionfunc
.inherited -
start(
DarwinSystemGeneratedArgs generated, DarwinSystemUserArgs user) → Future< void> -
inherited
-
startService(
ServiceDescriptor descriptor) → Future< bool> -
Constructs and starts the service described by
descriptor
and returns if the service has been started and registered successfully.inherited -
startServices(
) → Future< void> -
Starts all services described by serviceDescriptors,
solving dependencies by recursively starting only satisfied services
until all descriptors have either declined registration or have been started.
inherited
-
stop(
) → Future< void> -
inherited
-
stopServices(
) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterBean(
Bean bean) → void -
Unregisters a
bean
at runtime if present.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited