Top Description Methods
com.sun.faces.application.annotation

pack-priv Interface RuntimeAnnotationHandler

Known Direct Implementers
com.sun.faces.application.annotation.EJBHandler, com.sun.faces.application.annotation.JndiHandler, com.sun.faces.application.annotation.ListenerForHandler, com.sun.faces.application.annotation.PersistenceContextHandler, com.sun.faces.application.annotation.PersistenceUnitHandler, com.sun.faces.application.annotation.ResourceDependencyHandler
Imports
jakarta.faces.context.FacesContext

Implementations of this class provide basic caching and processing of of java.lang.annotation.Annotation instances.

Method Summary

Modifier and TypeMethod and Description
public void
apply(FacesContext
the jakarta.faces.context.FacesContext for the current request
ctx
,
Object...
one or more arguments to the handler instance. The type and number may vary.
params
)

Apply the java.lang.annotation.Annotation(s).

Method Detail

applyback to summary
public void apply(FacesContext ctx, Object... params)

Apply the java.lang.annotation.Annotation(s). The act of doing so should affect the Faces 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.

Parameters
ctx:FacesContext

the jakarta.faces.context.FacesContext for the current request

params:Object[]

one or more arguments to the handler instance. The type and number may vary.