|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface ContractsProvided
An explicit list of contracts provided. Overrides any other contract metadata on subclasses or interfaces.
There are times when a service would like to either restrict
Contract
s that it provides, or would like to add
subclasses or interfaces that are not naturally marked
Contract
to be contracts that it provides. In that
case it should use ContractsProvided, which allows the service
to explicitly say the contracts that it should provide.
Required Element Summary | |
---|---|
Class<?>[] |
value
The set of contracts that should be explicitly provided by this service. |
Element Detail |
---|
public abstract Class<?>[] value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |