org.apache.geronimo.management.geronimo
Interface WebModule

All Superinterfaces:
J2EEDeployedObject, J2EEManagedObject, J2EEModule, WebModule

public interface WebModule
extends WebModule

Geronimo extension to the standard JSR-77 WebModule type.

Version:
$Rev: 396767 $ $Date: 2006-04-25 06:07:54 +0200 (Tue, 25 Apr 2006) $

Method Summary
 WebContainer getContainer()
          Gets the ObjectName of the WebContainer that's hosting this WebModule.
 String getContextPath()
          Gets the web context for this web app.
 URL getURLFor()
          Gets a URL that can be used to access this web application.
 URL getWARDirectory()
          Gets the location of the web module "source" (typically an exploded directory).
 String getWARName()
          Gets a name for this WAR file that can be used to identify the WAR to a user.
 
Methods inherited from interface org.apache.geronimo.management.WebModule
getServlets
 
Methods inherited from interface org.apache.geronimo.management.J2EEModule
getJavaVMs
 
Methods inherited from interface org.apache.geronimo.management.J2EEDeployedObject
getDeploymentDescriptor, getServer
 
Methods inherited from interface org.apache.geronimo.management.J2EEManagedObject
getObjectName, isEventProvider, isStateManageable, isStatisticsProvider
 

Method Detail

getContextPath

public String getContextPath()
Gets the web context for this web app.


getContainer

public WebContainer getContainer()
Gets the ObjectName of the WebContainer that's hosting this WebModule.


getURLFor

public URL getURLFor()
Gets a URL that can be used to access this web application. Prefers HTTP if available, then HTTPS, then AJP, depending on what the hosting web container makes available.


getWARName

public String getWARName()
Gets a name for this WAR file that can be used to identify the WAR to a user. This is not guaranteed to be anything in particular.


getWARDirectory

public URL getWARDirectory()
Gets the location of the web module "source" (typically an exploded directory). This is where e.g. a web server would look for static content or a user would copy updated JSPs to.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.