Top Description Methods
javax.faces.event

public @Interface ListenersFor

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Inherited
Imports
java.lang.annotation.Retention, .RetentionPolicy, .Target, .ElementType, .Inherited

Container annotation to specify multiple ListenerFor annotations on a single class. Example:



   @ListenersFor({
       @ListenerFor(systemEventClass=PostAddToViewEvent.class),
       @ListenerFor(systemEventClass=BeforeRenderEvent.class,
                    sourceClass=CustomOutput.class)
   })

The action described in ListenerFor must be taken for each @ListenerFor present in the container annotation.

Since
2.0

Method Summary

Modifier and TypeMethod and Description
public ListenerFor[]
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public ListenerFor[] value()