Annotation Interface RegisterView


@Retention(RUNTIME) @Target(TYPE) public @interface RegisterView
Marks a View subclass for boot-time discovery and registration, after which it can be opened through ViewService#open(Player, Class).

Annotated classes are instantiated once via the dependency manager. A class carrying this annotation that does not extend View is logged SEVERE at boot and skipped.