Annotation Interface Component
@Documented
@Target(TYPE)
@Retention(RUNTIME)
@Component
@Scope("prototype")
public @interface Component
Marks an annotated class as a component exposed to browsers.
Components can be fields of controllers, pages, popups or other components.
Usually, components are for structurizing or for reusing codes.
For additional methods including a method returning a user's remote address,
use
ComponentFacade
or AbstractComponent
.