atg.service.webappregistry
Class MergedWebAppRegistry
java.lang.Object
   atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
       atg.nucleus.GenericService
atg.nucleus.GenericService
           atg.service.webappregistry.WebAppRegistry
atg.service.webappregistry.WebAppRegistry
               atg.service.webappregistry.MergedWebAppRegistry
atg.service.webappregistry.MergedWebAppRegistry
- All Implemented Interfaces: 
- atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, WebAppListener, java.util.EventListener
- public class MergedWebAppRegistry 
- extends WebAppRegistry- implements WebAppListener
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.
- See Also:
- WebApp- WebAppRegistry- NucleusServletWebAppRegistry- ServletContextListenerWebAppRegistery
| Field Summary | 
| static java.lang.String | CLASS_VERSIONClass version string
 | 
 
 
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging | 
| DEFAULT_LOG_TRACE_STATUS | 
 
 
 
 
| 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, sendEvent, setHiddenWebApps, setSiteHttpServerName, setSiteHttpServerPort, toString, unregister | 
 
| Methods inherited from class atg.nucleus.GenericService | 
| addLogListener, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService | 
 
| Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl | 
| vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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 | 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
 
 
MergedWebAppRegistry
public MergedWebAppRegistry()
getWebAppRegistries
public WebAppRegistry[] getWebAppRegistries()
- Get the value of WebAppRegistries.
 
- 
 
- 
- Returns:
- value of WebAppRegistries.
 
setWebAppRegistries
public void setWebAppRegistries(WebAppRegistry[] v)
- Set the value of WebAppRegistries.
 
- 
 
- 
- Parameters:
- v- Value to assign to WebAppRegistries.
 
getWebApps
public java.util.Map getWebApps()
- Description copied from class: WebAppRegistry
- Get the Map of currently deployed web applications
 
- 
- Specified by:
- getWebAppsin class- WebAppRegistry
 
- 
- Returns:
- a Mapof deployed WebApps
 
receiveEvent
public void receiveEvent(WebAppEvent pEvent)
- Description copied from interface: WebAppListener
- Called when a WebApp has been added.
 
- 
- Specified by:
- receiveEventin interface- WebAppListener
 
- 
- Parameters:
- pEvent- a- WebAppEventvalue