|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Target(value=TYPE) public @interface AutoService
An annotation for service providers as described in ServiceLoader. The
ServiceProviderProcessor generates the configuration files which allows service providers
to be loaded with ServiceLoader.load(Class).
Service providers assert that they conform to the service provider specification. Specifically, they must:
value()
| Required Element Summary | |
|---|---|
Class<?> |
value
Returns the interface implemented by this service provider. |
| Element Detail |
|---|
public abstract Class<?> value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||