Package sting
Annotation Interface Injector.Input
- Enclosing class:
- Injector
A specification of a service that is supplied to an injector during construction.
The service is added to the the component graph and is made available for other components to consume
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
type
The java type of the service.Sting does not support classes defined with type parameters.
- Returns:
- the java type of the service.
-
-
-
qualifier
An opaque string that qualifies the service. The string is user-supplied and used to distinguish two different services with the sametype()but different semantics.- Returns:
- an opaque qualifier string.
- Default:
- ""
-
optional
boolean optionalA flag indicating whether the input is optional and may be null or required.- Returns:
- a flag indicating whether the input is optional and may be null or required.
- Default:
- false
-