RuntimeAnnotationHandler responsible for processing annotations.
| Modifier and Type | Field and Description |
|---|---|
| private final PersistenceContext[] | |
| private final Field[] | |
| private final PersistenceContext[] | |
| private final Method[] |
| Access | Constructor and Description |
|---|---|
| public | PersistenceContextHandler(Method[] methods, PersistenceContext[] methodAnnotations, Field[] fields, PersistenceContext[] fieldAnnotations)
|
| 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 PersistenceContext[] fieldAnnotations | |
| fields | back to summary |
|---|---|
| private final Field[] fields | |
| methodAnnotations | back to summary |
|---|---|
| private final PersistenceContext[] methodAnnotations | |
| methods | back to summary |
|---|---|
| private final Method[] methods | |
| PersistenceContextHandler | back to summary |
|---|---|
| public PersistenceContextHandler(Method[] methods, PersistenceContext[] methodAnnotations, Field[] fields, PersistenceContext[] fieldAnnotations) | |
| 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, PersistenceContext unit, Object instance) | |
| applyToMethod | back to summary |
|---|---|
| private void applyToMethod(FacesContext facesContext, Method method, PersistenceContext unit, Object instance) | |