|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={})
public @interface BindingDeclares a bean binding, i.e an external bean that is not managed by Juzu. This bean will be managed by the dependency injection container.
| Required Element Summary | |
|---|---|
Class<?> |
value
The bean class that will be made available for injection by the container. |
| Optional Element Summary | |
|---|---|
Class<?> |
implementation
The optional bean implementation class, when this class is provided it should satisfy one condition among those: Extend or implement the value() bean class Implement the Provider
interface with a generic type <T> that must be a sub type of the value() class
Implement the ProviderFactory interface |
Scope |
scope
The scope for which the bean will be bound. |
| Element Detail |
|---|
public abstract Class<?> value
public abstract Scope scope
public abstract Class<?> implementation
value() bean classProvider
interface with a generic type <T> that must be a sub type of the value() classProviderFactory interface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||