RuntimeAnnotationHandler responsible for processing
PersistenceUnit annotations.
| Modifier and Type | Field and Description |
|---|---|
| private PersistenceUnit[] | |
| private Field[] | |
| private PersistenceUnit[] | |
| private 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... javax.faces.context.FacesContext 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 PersistenceUnit[] fieldAnnotations | |
| fields | back to summary |
|---|---|
| private Field[] fields | |
| methodAnnotations | back to summary |
|---|---|
| private PersistenceUnit[] methodAnnotations | |
| methods | back to summary |
|---|---|
| private 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) | |