darwin_sdk library
Classes
- AlwaysCondition
- ApplicationArgsConfigSource
- Bean
- Field and method annotation for defining service beans.
- CombinedConfigurationSource
- Condition
- Annotation base to specify binding conditions for services or beans.
- Configuration
- Class-annotation for defining configuration classes.
- ConfigurationSource
- String based asynchronous configuration source for.
- DarwinApplication
- Builder for DarwinSystem. Combines generated DarwinSystemGeneratedArgs and creates the DarwinSystemUserArgs. Also has options for configuring the created DarwinSystem.
- DarwinDefaultLogger
- DarwinPlugin
- Extensions for darwin applications.
- DarwinSystem
- Default DarwinSystem base class containing all common mixins.
- DarwinSystemBase
- DarwinSystemConfigurationMixin
- DarwinSystemGeneratedArgs
- Arguments supplied by the code generator to the DarwinSystem.
- DarwinSystemUserArgs
- User specified arguments to the DarwinSystem.
- DefaultDarwinSystem
- DefaultDarwinSystemImpl
- DefaultProfiles
- EnvConfigurationSource
- FixedPathMatcherFragment
- GeneratedHandlerProxy
- HandlerAnnotation
- Base class for handler annotations. Handler annotations will be retained at runtime and are store in HandlerRegistration and HandlerParameter.
-
HandlerEnclosingClass<
T> -
HandlerParameter<
T> - Descriptor for parameters of handler methods.
- HandlerProxy
- Method proxy for handler methods.
- HandlerRegistration
- A singular handler registration.
- KillEvent
- Event that gets triggered after the darwin system is shut down.
- LateStartupEvent
- Event that gets triggered after the initial service startup completed for all initially registered services.
- NeverCondition
- Optional
- Marks a service implementation as optional. Optional services don't crash the dependency resolution if their dependencies are not met and instead just get skipped.
- PathMatch
- PathMatcher
- PathMatcherFragment
- PathUtils
- Profile
- Execution profile based service registration condition. This conditions matches true, if the application is running in the profile specified by Profile.profile, this behaviour can be inverted by using Profile.inverse.
- ResolveEvent
- RunningService
- RuntimeYamlConfigurationSource
- Service
- Class-Annotation for defining services.
- ServiceBase
- Abstract base for Services, which can be used to hook into the service lifecycle. Can also obtain the current instance of DarwinSystem.
- ServiceDescriptor
- Abstract factory-like service creator and information holder.
- ServiceDescriptorImpl
- ServiceMixinResolver
- ServiceResolver
- Dependency resolver for ServiceDescriptors.
- Start
- Method annotation for declaring start methods for Services. Implementations must have no arguments and a return type of void or Future.
- Stop
- Method annotation for declaring stop methods for Services. Implementations must have no arguments and a return type of void or Future.
- VariablePathMatcherFragment
- YamlConfigurations
- Utilities for implementing ConfigurationSources using yaml.
Mixins
Extensions
Constants
- optional → const Optional
- Marks a service implementation as optional. Optional services don't crash the dependency resolution if their dependencies are not met and instead just get skipped.
- start → const Start
- Method annotation for declaring start methods for Services. Implementations must have no arguments and a return type of void or Future.
- stop → const Stop
- Method annotation for declaring stop methods for Services. Implementations must have no arguments and a return type of void or Future.
Typedefs
-
ConfigurationKey
= List<
String> - GeneratedHandlerProxyFun = dynamic Function(dynamic, List)
- LogHandler = dynamic Function(LogRecord)