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


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Control

The Control annotation type is used to annotate a field within a control client source file that is a control reference. It is the declarative mechanism for instantiating controls in Java clients. Java Controls runtime implementations will automatically initialize such annotated field references to an appropriate Java Control Bean of the requested type, and perform event listener hookup etc.


Optional Element Summary
 Class<?> interfaceHint
          Optional member used to specify the control interface class.
 

interfaceHint

public abstract Class<?> interfaceHint
Optional member used to specify the control interface class. Typically only necessary to resolve ambiguities when multiple control interfaces with same name but different packages are present.

Default:
java.lang.Object.class