@Retention(value=RUNTIME) @Target(value={}) public @interface Binding
Modifier and Type | Required Element and Description |
---|---|
Class<?> |
value
The bean class that will be made available for injection by the container.
|
Modifier and Type | Optional Element and Description |
---|---|
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.
|
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
interfaceCopyright © 2015 eXo Platform SAS. All rights reserved.