javax.faces.event

Annotation Type ListenerFor

Example: The standard renderer for javax.faces.resource.Stylesheet must have the following annotation declaration:

@ListenerFor(systemEventClass=PostAddToViewEvent.class)

This will cause the renderer to be added as a listener for the PostAddToViewEvent to all components that list it as their renderer.

Since:
2.0

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