|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) public @interface Provides
This annotation declares that the component instances will provide a service.
| Optional Element Summary | |
|---|---|
StaticServiceProperty[] |
properties
Allows adding static properties to the service. |
java.lang.Class[] |
specifications
Set the provided specifications. |
java.lang.String |
strategy
Set the service object creation strategy. |
public abstract java.lang.Class[] specifications
public abstract java.lang.String strategy
public abstract StaticServiceProperty[] properties
StaticServiceProperty elements.
Default : No service properties
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||