| Modifier and Type | Field and Description |
|---|---|
| protected static final String | JAVA_COMP_ENV
Stores the java:comp/env/ prefix |
| private static final Logger | LOGGER
Stores the logger. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | invokeMethod(FacesContext
the Faces context. facesContext, Method the method. method, Object the instance. instance, Object the value. value)Invoke the method. |
| public Object | Returns: the object, or null if an error occurs.the Faces context. facesContext, String the JNDI name. name)Look up the given object using its JNDI name. |
| public void | setField(FacesContext
the Faces context. facesContext, Field the field. field, Object the instance. instance, Object the value. value)Set the field. |
| JAVA_COMP_ENV | back to summary |
|---|---|
| protected static final String JAVA_COMP_ENV Stores the java:comp/env/ prefix | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Stores the logger. | |
| JndiHandler | back to summary |
|---|---|
| public JndiHandler() | |
| invokeMethod | back to summary |
|---|---|
| protected void invokeMethod(FacesContext facesContext, Method method, Object instance, Object value) Invoke the method.
| |
| lookup | back to summary |
|---|---|
| public Object lookup(FacesContext facesContext, String name) Look up the given object using its JNDI name.
| |
| setField | back to summary |
|---|---|
| public void setField(FacesContext facesContext, Field field, Object instance, Object value) Set the field.
| |