|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.service.webappregistry.WebAppRegistry
atg.service.webappregistry.StaticWebAppRegistry
public class StaticWebAppRegistry
StaticWebAppRegistry is an implementation
of WebAppRegistry. This class read a list of WebApp components
or a Map of display-name=context-root mappings to configure the
registry of deployed WebApps. There needs to be a property file
for each PreconfiguredWebApp. If the contextRootMap is used, then
you just need to set the property inside the property file.
Example of property file settings
-------------------------------------------------------------
contextRootMap=\
Quincy Funds J2EE DAF Demo=QuincyFunds,\
MotorpriseJSP=Motorprise
Or for preConfiguredWebApps:
preConfiguredWebApps=\
/atg/registry/webappregistry/QuincyFundsWebApp,\
/atg/registry/webappregistry/MotorpriseWebApp
Example of WebApp property file: QuincyFundsWebApp.properties
-------------------------------------------------------------
$class=atg.service.webappregistry.WebApp
properties=\
display-name=QuincyFunds,\
appState=started,\
context-root=QuincyFunds,\
web-uri=web_app,\
path=d:/work/5.6/Dynamo/DSSJ2EEDemo/j2ee-apps/QuincyFunds
-------------------------------------------------------------
WebApp
WebAppRegistry
MergedWebAppRegistry
NucleusServletWebAppRegistry
ServletContextListenerWebAppRegistery| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Fields inherited from class atg.nucleus.GenericService |
|---|
SERVICE_INFO_KEY |
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
|---|
DEFAULT_LOG_TRACE_STATUS |
| Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
|---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
| Constructor Summary | |
|---|---|
StaticWebAppRegistry()
|
|
| Method Summary | |
|---|---|
java.util.Properties |
getContextRootMap()
Gets the mContextRootMap property |
WebApp[] |
getPreConfiguredWebApps()
|
java.util.Map |
getWebApps()
Get the Map of currently deployed web applications |
void |
setContextRootMap(java.util.Properties pProperties)
Sets the mContextRootMap property In prop file it should look like: contextRootMap=\ QuincyFunds J2EE Demo=QuincyFunds,\ MotorpriseJSP=Motorprise |
void |
setPreConfiguredWebApps(WebApp[] pWebApps)
|
| Methods inherited from class atg.service.webappregistry.WebAppRegistry |
|---|
addListener, createAdminServlet, doStartService, doStopService, getHiddenWebApps, getSiteHttpServerName, getSiteHttpServerPort, getUrl, getUrl, getWebAppByContextRoot, getWebAppByName, getWebAppByProperty, isHiddenWebApp, register, removeListener, removeWebApp, savePropertyFilesToDir, setHiddenWebApps, setSiteHttpServerName, setSiteHttpServerPort, toString, unregister |
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
|---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public StaticWebAppRegistry()
| Method Detail |
|---|
public void setContextRootMap(java.util.Properties pProperties)
public java.util.Properties getContextRootMap()
public WebApp[] getPreConfiguredWebApps()
public void setPreConfiguredWebApps(WebApp[] pWebApps)
public java.util.Map getWebApps()
WebAppRegistry
getWebApps in class WebAppRegistryMap of deployed WebApps
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||