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