com.google.api.server.spi.config
Annotation Type ApiReference
-
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ApiReferenceAnnotation to specify that the annotated class should use the sameApiconfiguration information as the referenced class. This referenced configuration is used instead of any configuration inherited fromApiannotations or otherApiReferenceannotations on super classes. If a single class is annotated with bothApiandApiReferenceannotations, configuration is first retrieved using theApiReferenceannotation and is then overridden with configuration from theApiannotation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element and Description java.lang.Class<?>valueThe class to which this ApiReference annotation will act as a reference.
-
-
-
Element Detail
-
value
public abstract java.lang.Class<?> value
The class to which this ApiReference annotation will act as a reference. The referenced class or an inherited superclass of the referenced class must have API configuration provided from anApiannotation or anotherApiReferenceannotation.
-
-