com.google.auto.service
Annotation Type AutoService


@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:


Required Element Summary
 Class<?> value
          Returns the interface implemented by this service provider.
 

Element Detail

value

public abstract Class<?> value
Returns the interface implemented by this service provider.



Copyright © 2014 Google, Inc.. All rights reserved.