catalyst_builder library
Support for doing something awesome.
More dartdocs go here.
Classes
- Parameter
- Provide an alternative parameter binding
- Preload
- Mark a singleton service as preloaded. Preload means that an instance of the service is created inside the ServiceProvider.boot.
- Service
- This class represents a service that is registered in the ServiceProvider.
-
ServiceDescriptor<
T> - This class is used for describing services in the service provider.
- ServiceMap
- This annotation can be used to create services without adding the @Service annotation to the service itself.
- ServiceProvider
- Describes a simple ServiceProvider
Enums
- ServiceLifetime
- Describes the lifetime of a service.
Exceptions / Errors
- CatalystBuilderException
- A base class for CatalystBuilder specific exceptions
- DependencyNotFoundException
-
An exception that is thrown when a service of the type
service
was not found. - ProviderAlreadyBootedException
- An exception that is thrown when boot is called on a already booted ServiceProvider.
- ProviderNotBootedException
- An exception that is thrown when resolving services on a not booted ServiceProvider.
- ServiceNotFoundException
- An exception that is thrown when a service of the type service was not found.