|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.hq.ui.Configurator
public class Configurator
A class that loads the application properties file (found at
/WEB-INF/hq.properties) and configures the
web application. All properties in the file are exposed as servlet
context attributes.
| Constructor Summary | |
|---|---|
Configurator()
|
|
| Method Summary | |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce)
Respond to the context destroyed container event by doing nothing. |
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
Respond to the context initialized container event by loading the application properties file and the portals definition file. |
protected java.lang.String |
getPreferenceFile()
|
protected java.lang.String |
getRoleDashboardPreferenceFile()
|
protected java.lang.String |
getUserDashboardPreferenceFile()
|
void |
loadConfig(javax.servlet.ServletContext ctx)
Load the application properties file (found at /WEB-INF/hq.properties) and configure
the web application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Configurator()
| Method Detail |
|---|
protected java.lang.String getPreferenceFile()
protected java.lang.String getRoleDashboardPreferenceFile()
protected java.lang.String getUserDashboardPreferenceFile()
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic void loadConfig(javax.servlet.ServletContext ctx)
/WEB-INF/hq.properties) and configure
the web application. All properties in the file are exposed as
servlet context attributes.
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||