<T> ServiceBindingOptions |
ServiceBinder.<T> implementationClass) |
Defines a service in terms of an implementation class, without a service interface.
|
<T> ServiceBindingOptions |
ServiceBinder.<T> serviceInterface,
<? extends T> serviceImplementation) |
Binds the service interface to a service implementation class.
|
<T> ServiceBindingOptions |
ServiceBinder.<T> serviceInterface,
ServiceBuilder<T> builder) |
Alternative implementation that supports a callback to build the service, rather than instantiating a particular
class.
|
ServiceBindingOptions |
ServiceBindingOptions.eagerLoad() |
Turns eager loading on for this service.
|
ServiceBindingOptions |
ServiceBindingOptions.preventDecoration() |
Disallows service decoration for this service.
|
ServiceBindingOptions |
ServiceBindingOptions.preventReloading() |
Identifies a service for which live class reloading is not desired.
|
ServiceBindingOptions |
ServiceBindingOptions. scope) |
Sets the scope of the service, overriding the Scope annotation on the service implementation class.
|
ServiceBindingOptions |
ServiceBindingOptions. id) |
Allows a specific service id for the service to be provided, rather than the default (from the service
interface).
|
ServiceBindingOptions |
ServiceBindingOptions.<? extends >... marker) |
Defines the marker interface(s) for the service, used to connect injections by type at the point of injection
with a particular service implementation, based on the intersection of type and marker interface.
|
ServiceBindingOptions |
ServiceBindingOptions.withSimpleId() |
Uses the the simple (unqualified) class name of the implementation class as the id of the service.
|