Top Description Methods
org.apache.juli

public Interface WebappProperties

Known Direct Implementers
org.apache.catalina.loader.WebappClassLoaderBase

An 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 of getWebappName(), getHostName() and getServiceName() must be unique.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name to use for the Host where the web application is deployed or null if none is available.
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.

public String

Returns:

The name to use for the Service where the Host is deployed or null if none is available.
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.

public String

Returns:

The name to use for the web application or null if none is available.
getWebappName
()

Returns a name for the logging system to use for the web application, if any, associated with the class loader.

public boolean

Returns:

true if the web application includes a logging configuration at the standard location of /WEB-INF/classes/logging.properties.
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.

Method Detail

getHostNameback to summary
public 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:String

The name to use for the Host where the web application is deployed or null if none is available.

getServiceNameback to summary
public 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:String

The name to use for the Service where the Host is deployed or null if none is available.

getWebappNameback to summary
public String getWebappName()

Returns a name for the logging system to use for the web application, if any, associated with the class loader.

Returns:String

The name to use for the web application or null if none is available.

hasLoggingConfigback to summary
public boolean 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:boolean

true if the web application includes a logging configuration at the standard location of /WEB-INF/classes/logging.properties.