javax.faces.event
Annotation Type ListenersFor


@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface ListenersFor

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

Required Element Summary
 ListenerFor[] value
           
 

Element Detail

value

public abstract ListenerFor[] value


Copyright 2002-2009 Sun Microsystems, Inc. All Rights Reserved.