org.apache.beehive.controls.api.bean
Annotation Type ControlInterface


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ControlInterface

The ControlInterface annotation type is used to annotate a control public interface.


Optional Element Summary
 Class<? extends ControlChecker> checker
          Used by control authors wishing to enforce rich semantic validation on extension and field instance declarations of their controls.
 Class<? extends ControlChecker> checkerClass
          Deprecated. Replaced by checker() element.
 String defaultBinding
          Specify the fully qualified name of the control implementation for this control interface.
 

defaultBinding

public abstract String defaultBinding
Specify the fully qualified name of the control implementation for this control interface. If no value is specified the implementation will be the name of the interface with 'Impl' appended.

Default:
"Impl"

checkerClass

public abstract Class<? extends ControlChecker> checkerClass
Deprecated. Replaced by checker() element.

Default:
org.apache.beehive.controls.api.bean.DefaultControlChecker.class

checker

public abstract Class<? extends ControlChecker> checker
Used by control authors wishing to enforce rich semantic validation on extension and field instance declarations of their controls. By supplying a ControlChecker implementation (a "checker") and associating it with your control's public interface, when an extension of your control is processed at build-time, the checker will be invoked and can do rich validation of the extension type and field instances via introspection and analysis of the control extension's type structure, signatures and annotations.

See Also:
ControlChecker
Default:
org.apache.beehive.controls.api.bean.DefaultControlChecker.class