@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface ContractsProvided
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.
public abstract Class<?>[] value
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.