Package org.apache.juli
Interface WebappProperties
- 
- All Known Implementing Classes:
- ParallelWebappClassLoader,- WebappClassLoader,- WebappClassLoaderBase
 
 public interface WebappPropertiesAn interface intended for use by class loaders associated with a web application that enables them to provide additional information to JULI about the web application with which they are associated. For any web application the combination ofgetWebappName(),getHostName()andgetServiceName()must be unique.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHostName()Returns a name for the logging system to use for the Host where the web application, if any, associated with the class loader is deployed.java.lang.StringgetServiceName()Returns a name for the logging system to use for the Service where the Host, if any, associated with the class loader is deployed.java.lang.StringgetWebappName()Returns a name for the logging system to use for the web application, if any, associated with the class loader.booleanhasLoggingConfig()Enables JULI to determine if the web application includes a local configuration without JULI having to look for the file which it may not have permission to do when running under a SecurityManager.
 
- 
- 
- 
Method Detail- 
getWebappNamejava.lang.String getWebappName() Returns a name for the logging system to use for the web application, if any, associated with the class loader.- Returns:
- The name to use for the web application or null if none is available.
 
 - 
getHostNamejava.lang.String getHostName() Returns a name for the logging system to use for the Host where the web application, if any, associated with the class loader is deployed.- Returns:
- The name to use for the Host where the web application is deployed or null if none is available.
 
 - 
getServiceNamejava.lang.String getServiceName() Returns a name for the logging system to use for the Service where the Host, if any, associated with the class loader is deployed.- Returns:
- The name to use for the Service where the Host is deployed or null if none is available.
 
 - 
hasLoggingConfigboolean hasLoggingConfig() Enables JULI to determine if the web application includes a local configuration without JULI having to look for the file which it may not have permission to do when running under a SecurityManager.- Returns:
- trueif the web application includes a logging configuration at the standard location of /WEB-INF/classes/logging.properties.
 
 
- 
 
-