|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,PARAMETER}) @Inherited public @interface Requires
This annotation declares a service requirement.
Optional Element Summary | |
---|---|
Class |
comparator
Set the comparator. |
Class |
defaultimplementation
Set the default-implementation to use if the dependency is optional, and no providers are available. |
String |
filter
Set the LDAP filter of the dependency. |
String |
from
Set the from attribute. |
String |
id
Set the dependency id. |
boolean |
nullable
Enable / Disable nullable pattern. |
boolean |
optional
Set if the dependency is optional. |
String |
policy
Set the binding policy. |
boolean |
proxy
Set to true if the service dependency is injected as a proxy. |
String |
specification
Set the required service specification. |
public abstract String filter
public abstract boolean optional
public abstract String id
public abstract boolean nullable
public abstract Class defaultimplementation
public abstract String policy
public abstract Class comparator
Comparator
public abstract String from
public abstract String specification
public abstract boolean proxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |