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