FileDocCategorySizeDatePackage
WebModule.javaAPI DocGlassfish v2 API7440Fri May 04 22:30:52 BST 2007com.sun.appserv.management.j2ee

WebModule

public interface WebModule implements com.sun.appserv.management.base.Container, J2EEModule
A J2EE WebModule. Extends the J2EE management model with additional product-specific Attributes and operations.
The monitoring peer as returned from getMonitoringPeer() is {@link com.sun.appserv.management.monitor.WebModuleVirtualServerMonitor}

Fields Summary
public static final String
J2EE_TYPE
Constructors Summary
Methods Summary
public booleangetAllowLinking()
Allow symlinking to outside the webapp root directory, if the webapp is an exploded directory

public intgetCacheMaxSize()
Maximum cache size in KB

public booleangetCachingAllowed()
Should we cache static resources for this webapp

public booleangetCaseSensitive()
Should case sensitivity checks be performed

public java.lang.StringgetCompilerClasspath()
The compiler classpath to use

public booleangetCookies()
Should we attempt to use cookies for session id communication?

public booleangetCrossContext()
Should we allow the ServletContext.getContext() method to access the context of other web applications in this server?

public intgetDebug()
The debugging detail level for this component

public java.lang.StringgetDefaultWebXML()
Location of the default web.xml resource or file

public java.lang.StringgetDocBase()
The document root for this web application

public java.lang.String[]getEndpointAddresses()
An array of URL addresses defined in this Web Module to invoke web services endpoints implementations

public java.lang.StringgetEngineName()
Name of the engine domain, if different from the context domain

public booleangetHasWebServices()
True if the web module implements web services endpoints

public intgetManagerChecksFrequency()
The frequency of the manager checks (expiration and passivation)

public booleangetOverride()
The DefaultContext override flag for this web application

public java.lang.StringgetPath()
The context path for this Context

public booleangetReloadable()
The reloadable flag for this web application

public java.lang.String[]getResourceNames()
Names of all the defined resource references for this application.

public java.util.MapgetServletMap()

public longgetStartupTime()
Startup time for this context (elapsed milliseconds).

public booleangetSwallowOutput()
Flag to set to cause the system.out and system.err to be redirected to the logger when executing a servlet

public longgetTLDScanTime()
Time spend scanning jars for TLDs for this context

public booleangetUseNaming()
Create a JNDI naming context for this application?

public java.lang.String[]getWelcomeFiles()
The welcome files for this context

public java.lang.StringgetWorkDir()
The pathname to the work directory for this context

public java.lang.String[]getservlets()
Note that the Attribute name is case-sensitive "servlets" as defined by JSR 77.

public voidreload()

public voidsetAllowLinking(boolean value)
Allow symlinking to outside the webapp root directory, if the webapp is an exploded directory

public voidsetCacheMaxSize(int value)
Maximum cache size in KB

public voidsetCachingAllowed(boolean value)
Should we cache static resources for this webapp

public voidsetCaseSensitive(boolean value)
Should case sensitivity checks be performed

public voidsetCompilerClasspath(java.lang.String value)
The compiler classpath to use

public voidsetCookies(boolean value)
Should we attempt to use cookies for session id communication?

public voidsetCrossContext(boolean value)
Should we allow the ServletContext.getContext() method to access the context of other web applications in this server?

public voidsetDebug(int value)
The debugging detail level for this component

public voidsetEngineName(java.lang.String value)
Name of the engine domain, if different from the context domain

public voidsetManagerChecksFrequency(int value)
The frequency of the manager checks (expiration and passivation)

public voidsetOverride(boolean value)
The DefaultContext override flag for this web application

public voidsetPath(java.lang.String value)
The context path for this Context

public voidsetReloadable(boolean value)
The reloadable flag for this web application

public voidsetSwallowOutput(boolean value)
Flag to set to cause the system.out and system.err to be redirected to the logger when executing a servlet

public voidsetTLDScanTime(long value)
Time spend scanning jars for TLDs for this context

public voidsetUseNaming(boolean value)
Create a JNDI naming context for this application?