atg.service.webappregistry
Class StaticWebAppRegistry
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.StaticWebAppRegistry
atg.service.webappregistry.StaticWebAppRegistry
- 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, java.util.EventListener
- public class StaticWebAppRegistry 
- extends WebAppRegistry
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
-------------------------------------------------------------
- See Also:
- WebApp- WebAppRegistry- MergedWebAppRegistry- 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
 
 
StaticWebAppRegistry
public StaticWebAppRegistry()
setContextRootMap
public void setContextRootMap(java.util.Properties pProperties)
- Sets the mContextRootMap property
 In prop file it should look like:
 contextRootMap=\
     QuincyFunds J2EE Demo=QuincyFunds,\
     MotorpriseJSP=Motorprise
 
- 
 
getContextRootMap
public java.util.Properties getContextRootMap()
- Gets the mContextRootMap property
 
- 
 
getPreConfiguredWebApps
public WebApp[] getPreConfiguredWebApps()
- 
 
setPreConfiguredWebApps
public void setPreConfiguredWebApps(WebApp[] pWebApps)
- 
 
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