com.bea.wli.common
Annotation Type ControlFactoryEventHandler


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ControlFactoryEventHandler

Used on event handler methods in a JPD to receive callbacks from a control created from a control factory


Required Element Summary
 String eventName
          The name of the handled event.
 Class eventSet
          The EventSet interface that declares the event.
 String field
          The field name of the Java control factory event source.
 

Element Detail

field

public abstract String field
The field name of the Java control factory event source. This must be an @ControlFactory field declared on the class defining the event handler method (or on a superclass if the field is not declared to be private).


eventSet

public abstract Class eventSet
The EventSet interface that declares the event. This must be a valid EventSet interface associated with the control type of the field member.


eventName

public abstract String eventName
The name of the handled event. This must be the name of a method declared on the EventSet interface referenced by the eventSet member. The annotated method must have an event signature that exactly matches one of the event methods with this name, along with one additional parameter that is of the control type. This additional parameter is the first parameter in the parameter list