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


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41