atg.service.webappregistry
Class ServletContextWebAppRegistry
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.ServletContextWebAppRegistry
atg.service.webappregistry.ServletContextWebAppRegistry
- All Implemented Interfaces: 
- NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener
- Direct Known Subclasses: 
- ServletContextListenerWebAppRegistry
- public class ServletContextWebAppRegistry 
- extends WebAppRegistry
This is an implementation of WebAppRegistry. 
 This implementation registers apps defined 
 by a ServletContext. It is used by NucleusServlet
 to register Dynamo specific WebApps.
- See Also:
- WebAppRegistry- NucleusServlet- ServletContextListenerWebAppRegistery
| Field Summary | 
| static java.lang.String | CLASS_VERSIONClass version string
 | 
 
 
| Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging | 
| DEFAULT_LOG_TRACE_STATUS | 
 
 
 
| Method Summary | 
| static java.lang.String | getRealPath(javax.servlet.ServletContext sc,
            java.lang.String pUrl)Return the path to the input resource pUrl.
 | 
|  java.util.Map | getWebApps()Get the Map of currently deployed web applications
 | 
| static void | register(javax.servlet.ServletContext pServletContext)Notification that the web application is ready to process requests.
 | 
|  void | setWebApps(java.util.Map pWebApps)
 | 
| static void | unregister(javax.servlet.ServletContext pServletContext)Notification that the web application is ready to process requests.
 | 
 
| 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.GenericService | 
| addLogListener, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, 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, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService | 
 
| 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 | 
 
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
 
 
ServletContextWebAppRegistry
public ServletContextWebAppRegistry()
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
 
setWebApps
public void setWebApps(java.util.Map pWebApps)
- 
 
getRealPath
public static java.lang.String getRealPath(javax.servlet.ServletContext sc,
                                           java.lang.String pUrl)
- Return the path to the input resource pUrl. 
 If the WebApp is in the form of a war file than this will
 return null.
 
- 
- Parameters:
- sc- a- ServletContextvalue
- pUrl- a- Stringvalue
- Returns:
- a Stringvalue
 
register
public static void register(javax.servlet.ServletContext pServletContext)
- Notification that the web application is ready to process requests.
 
- 
- Parameters:
- pServletContext- a- ServletContextvalue
 
unregister
public static void unregister(javax.servlet.ServletContext pServletContext)
- Notification that the web application is ready to process requests.
 
- 
- Parameters:
- pServletContext- a- ServletContextvalue