Annotation Interface ServiceInterface


@Target(TYPE) @Retention(RUNTIME) @Documented @Inherited public @interface ServiceInterface
An annotation that specifies the service interface for the annotated class. This is used for RMI exports.

Subclasses of annotated classes will inherit the service interface from their parent class. A subclass can specify its own ServiceInterface to override that of its parent.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Findable>