class ListenerForHandler extends java.lang.Object implements RuntimeAnnotationHandler
RuntimeAnnotationHandler
responsible for processing ListenerFor
annotations.Modifier and Type | Field and Description |
---|---|
private javax.faces.event.ListenerFor[] |
listenersFor |
Constructor and Description |
---|
ListenerForHandler(javax.faces.event.ListenerFor[] listenersFor) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.context.FacesContext ctx,
java.lang.Object... params)
Apply the
Annotation (s). |
public ListenerForHandler(javax.faces.event.ListenerFor[] listenersFor)
public void apply(javax.faces.context.FacesContext ctx, java.lang.Object... params)
RuntimeAnnotationHandler
Apply the Annotation
(s). The act
of doing so should affect the JSF runtime in some fashion (see the spec
for the specific annotation types).
NOTE: when adding new types of components that can be annotated,
the fact that we expose varargs here should be hidden. Type-safe methods
should be added to AnnotationManager
to clarify the contract.
apply
in interface RuntimeAnnotationHandler
ctx
- the FacesContext
for the current
requestparams
- one or more arguments to the handler instance. The type
and number may vary.Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.