Package-level declarations
Types
A ServiceKey that creates a new instance of a service every time one is requested.
A ServiceKey for services that are created and stored lazily.
An entry stored in a ServiceLocator to provide a value of type T.
A Key type used in a ServiceLocator. Will provide values of type T.
A ClassKey that provides a single, eagerly-loaded value.
A ServiceKey for a pre-instantiated, eagerly-loaded service.
Functions
Creates a FactoryKey for the reified type T which may take parameters of type GetParams.
Creates a FactoryKey for the reified type T that does not require parameters for creation.
Creates a FactoryKey for services that do not require parameters for creation.
Registers an eager singleton instance using a SingletonClassKey for the reified type T.
Registers a lazy singleton provider using a LazyClassKey for the reified type T.
Registers a lazy singleton provider for the given key.
Creates a SingletonKey for the reified type T.