RuntimeAnnotationHandler responsible for processing Resource annotations.
| Modifier and Type | Field and Description |
|---|---|
| private final Resource[] | |
| private final Field[] | |
| private final Resource[] | |
| private final Method[] |
| Access | Constructor and Description |
|---|---|
| public | ResourceHandler(Field[] fields, Resource[] fieldAnnotations, Method[] methods, Resource[] methodAnnotations)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(FacesContext
the ctx, Object... jakarta. for the current requestone or more arguments to the handler instance. The type and number may vary. params)Implements com.
Apply the |
| private void | |
| private void |
| fieldAnnotations | back to summary |
|---|---|
| private final Resource[] fieldAnnotations | |
| fields | back to summary |
|---|---|
| private final Field[] fields | |
| methodAnnotations | back to summary |
|---|---|
| private final Resource[] methodAnnotations | |
| methods | back to summary |
|---|---|
| private final Method[] methods | |
| ResourceHandler | back to summary |
|---|---|
| public ResourceHandler(Field[] fields, Resource[] fieldAnnotations, Method[] methods, Resource[] methodAnnotations) | |
| apply | back to summary |
|---|---|
| public void apply(FacesContext ctx, Object... params) Implements com. Doc from com.
Apply the 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
| |
| applyToField | back to summary |
|---|---|
| private void applyToField(FacesContext facesContext, Field field, Resource resource, Object instance) | |
| applyToMethod | back to summary |
|---|---|
| private void applyToMethod(FacesContext facesContext, Method method, Resource resource, Object instance) | |