#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' )
public class Resources
extends java.lang.Object
Example injection on a managed bean field:
&${symbol_pound}064;Inject
private EntityManager em;
| Constructor and Description |
|---|
Resources() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getRootErrorMessage(java.lang.Exception e)
Static method for determining the lowest level error message of an Exception chain.
|
javax.faces.context.FacesContext |
produceFacesContext()
Produce FacesContext
|
java.util.logging.Logger |
produceLog(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Produce Logger
|
@Produces public java.util.logging.Logger produceLog(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
injectionPoint - class injected into@Produces @RequestScoped public javax.faces.context.FacesContext produceFacesContext()
public static java.lang.String getRootErrorMessage(java.lang.Exception e)
e - Exception caught