|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.service.webappregistry.WebAppRegistry atg.service.webappregistry.MergedWebAppRegistry
public class MergedWebAppRegistry
This is an implementation of WebAppRegistry. This implementation merges a set of WebAppRegitry components. Precedence goes up with position in the list. For instance, the property file would set the list with: webAppRegistries=\ /atg/dynamo/service/webappregistry/StaticWebAppRegistry,\ /atg/dynamo/service/webappregistry/ServletContextWebAppRegistry This means to use a StaticWebAppRegistry to read WebApp information from a propery file and a ServletContextWebAppRegistry to get WebApp information from the WebApps started at runtime (See NucleusServlet). This registry will merge the 2 with precedence going to ServletContextWebAppRegistry. This is needed if we do not have all the needed information at runtime. For example on some application servers, you can not get the real path or context-root. This can happen when the WebApp is in an ear file.
WebApp
WebAppRegistry
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 | |
---|---|
MergedWebAppRegistry()
|
Method Summary | |
---|---|
WebAppRegistry[] |
getWebAppRegistries()
Get the value of WebAppRegistries. |
java.util.Map |
getWebApps()
Get the Map of currently deployed web applications |
void |
receiveEvent(WebAppEvent pEvent)
Called when a WebApp has been added. |
void |
setWebAppRegistries(WebAppRegistry[] v)
Set the value of WebAppRegistries. |
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 MergedWebAppRegistry()
Method Detail |
---|
public WebAppRegistry[] getWebAppRegistries()
public void setWebAppRegistries(WebAppRegistry[] v)
v
- Value to assign to WebAppRegistries.public java.util.Map getWebApps()
WebAppRegistry
getWebApps
in class WebAppRegistry
Map
of deployed WebAppspublic void receiveEvent(WebAppEvent pEvent)
WebAppListener
receiveEvent
in interface WebAppListener
pEvent
- a WebAppEvent
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |