com.google.api.server.spi.config
Annotation Type ApiReference
-
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface ApiReference
Annotation to specify that the annotated class should use the sameApi
configuration information as the referenced class. This referenced configuration is used instead of any configuration inherited fromApi
annotations or otherApiReference
annotations on super classes. If a single class is annotated with bothApi
andApiReference
annotations, configuration is first retrieved using theApiReference
annotation and is then overridden with configuration from theApi
annotation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element and Description java.lang.Class<?>
value
The 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 anApi
annotation or anotherApiReference
annotation.
-
-