|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uoc.tfc.j2ee.icampanario.grepresenta.useful.GRepresentaConfiguration
@Startup @Name(value="configurationAction") @Scope(value=APPLICATION) public class GRepresentaConfiguration
Realiza la carga de la configuración de la aplicación a partir del fichero grepresenta.properties.
Constructor Summary | |
---|---|
GRepresentaConfiguration()
|
Method Summary | |
---|---|
java.util.Properties |
getConfigurationgr()
Devuelve las propiedades de la aplicaci�n |
javax.persistence.EntityManager |
getEntityManager()
get entityManager |
org.jboss.seam.log.Log |
getLog()
get log |
java.util.Map<java.lang.String,State> |
getStates()
Mapa de estados |
void |
initConfiguration()
Initialization settings |
void |
setConfigurationgr(java.util.Properties configurationgr)
Modifica las propiedades de la aplicaci�n |
void |
setEntityManager(javax.persistence.EntityManager entityManager)
set entityManager |
void |
setLog(org.jboss.seam.log.Log log)
set log |
void |
setStates(java.util.Map<java.lang.String,State> states)
Mapa de estados |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GRepresentaConfiguration()
Method Detail |
---|
@Create public void initConfiguration()
public java.util.Properties getConfigurationgr()
public java.util.Map<java.lang.String,State> getStates()
public void setStates(java.util.Map<java.lang.String,State> states)
states
- mapa de estadospublic void setConfigurationgr(java.util.Properties configurationgr)
configurationgr
- el nuevo propertiespublic org.jboss.seam.log.Log getLog()
public void setLog(org.jboss.seam.log.Log log)
log
- the log to setpublic javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |