jrun.servlet
Class WebApplicationService

jrunx.kernel.ServiceAdapter
  |
  +--jrunx.kernel.ServicePartition
        |
        +--jrunx.kernel.ConfigurableServicePartition
              |
              +--jrun.j2ee.J2EEModule
                    |
                    +--jrun.servlet.WebApplicationService
All Implemented Interfaces:
ConfigurableServicePartitionMBean, J2EEModuleMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean, WebApplication, WebApplicationServiceMBean

public final class WebApplicationService
extends J2EEModule
implements WebApplication

A Web Application. This class serves as the container for a web application.

Author:
Karl Moss
See Also:
Serialized Form

Field Summary
protected  WebAppSecurity appSecurity
           
protected  ResourceManager resourceManager
           
protected  ServletEngine servletEngine
           
protected  Session sessionService
           
 
Fields inherited from class jrunx.kernel.ServicePartition
sortedServices
 
Fields inherited from class jrunx.kernel.ServiceAdapter
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
WebApplicationService(WebAppMetaData webAppMetaData)
           
 
Method Summary
 void addListener(java.lang.Object o)
          Add an event listener to the the web app.
 void addListener(java.lang.String listenerName)
          Add an event listener to the the web app.
protected  void addWebXmlServletMappings()
           
protected  void createClassLoader()
           
 void destroy()
          Every service is eventually destroyed.
protected  void destroyListeners()
          Destroys any event listeners defined in web.xml in reverse order
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getCompile()
          Gets whether dynamic compile is enabled
 java.lang.String getContextPath()
           
 java.lang.String getDescription()
          Gets the web application description
 java.lang.Boolean getDirectoryBrowsing()
          Gets whether directory browsing is enabled.
 JRunRequestDispatcher getDispatcher(java.lang.String uri, java.lang.String queryString)
          return a JRunRequestDispatcher for this request.
 java.lang.String getDisplayName()
          Get the web application display name
 java.lang.String getDocumentRoot()
          Returns the current document root.
 java.lang.Boolean getFileServing()
          Gets whether file server is enabled for this web application
 FilterManager getFilterManager()
          Returns the current filter manager or null if there are no filters configured.
 java.util.Vector getHttpSessionAttributeListeners()
          Returns the list of HttpSessionAttributeListener objects or null if none
 java.util.Vector getHttpSessionListeners()
          Returns the list of HttpSessionListener objects or null if none
 java.lang.String getMimeType(java.lang.String name)
          Gets the mime type for the given resource name
 javax.servlet.RequestDispatcher getNamedDispatcher(java.lang.String servletName)
          this is the implementation for ServletContext.getNamedDispatcher.
 java.lang.Boolean getReload()
          Gets whether dynamic reload is enabled
 javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String path)
          this method is the implementation for ServletContext.getRequestDispatcher(String) and returns a (potentially cached) dispatcher for the given resource.
 Resource getResource(java.lang.String path)
          Gets a Resource at the specified relative path within the document root
 java.io.InputStream getResourceAsStream(java.lang.String path)
          Gets an InputStream for reading the relative path within the document root
 ServletEngine getServer()
          Gets the JRun server instance
 java.lang.String getServletAlias(java.lang.String name)
          Given a servlet name, return the servlet-class or (if a jsp-file) the name of the jsp servlet.
 java.lang.String getServletAliasClass(java.lang.String name)
          Given a servlet alias name, return the servlet class.
 long getServletCheckInterval()
          Gets the servlet check interval
 javax.servlet.ServletContext getServletContext()
          Gets the servlet context for this web application
 java.util.Vector getServletContextAttributeListeners()
          Returns the list of ServletContextAttributeListener objects or null if none
 java.util.Vector getServletContextListeners()
          Returns the list of ServletContextListener objects or null if none
 JRunRequestDispatcher getServletDispatcher(java.lang.String uri, java.lang.Class servletClass)
          get a request dispatcher for an internal servlet, by class.
 ServletEngine getServletEngine()
          Returns a direct reference to the servlet engine that this webapp belongs to.
 java.util.Set getServletMappings()
          Returns the current set of servlet mappings, sorted longest first
 java.lang.Boolean getSessionPersistence()
           
 java.lang.Boolean getSessionReplication()
           
 java.util.List getSessionReplicationBuddies()
           
 Session getSessionService()
          Returns the current Session service
 java.lang.String getUriCharacterEncoding()
           
protected  java.net.URL getURL(Resource r)
           
 java.lang.ClassLoader getWebappClassLoader()
           
 WebApplication getWebApplication()
          Returns a direct reference to the web application
 WebAppMetaData getWebAppMetaData()
          Gets the metadata as read from web.xml
 java.lang.String getWebAppName()
          Gets the web application name
 java.lang.String getWebAppRoot()
          Gets the root location of the web application
 java.lang.String getWholeContextPath()
           
 void init()
          Not every service needs to init, implement it out of convenience.
protected  void initListeners()
          Loads any event listeners defined in web.xml.
protected  boolean isServlet(java.lang.String name)
          Determines if the given servlet mapping represents a servlet
 java.lang.Class loadClass(java.lang.String name)
          Loads the named class using the ClassLoader for the WebApplication
 javax.servlet.Servlet loadServlet(java.lang.String servletName, java.lang.String className)
          Loads the servlet using the ClassLoader for the WebApplication
protected  boolean pathIsLegal(java.lang.String decodedUri)
           
 void persistJRunWebXML()
           
 void persistWebXML()
           
 void postStart()
          For j2ee modules within an ear that depend on all other modules being started
protected  void preloadServlets()
          initialize the application's servlets, loading them in pre-load order.
 void setCompile(java.lang.Boolean compile)
          Set the dynamic compile meta data element.
 void setContextPath(java.lang.String path)
          Sets the context path of the web application.
 void setDirectoryBrowsing(java.lang.Boolean directoryBrowsing)
          Set directory browsing fo this web application
 void setDisplayName(java.lang.String displayName)
           
 void setDocumentRoot(java.lang.String documentRoot)
          Sets the current document root.
 void setFileServing(java.lang.Boolean enable)
          Set whether file server is enabled for this web application
 void setReload(java.lang.Boolean reload)
          Set the dynamic reload meta data element.
 void setServletCheckInterval(long ms)
          The number of milliseconds between checking for a change in a servlet class file.
 void setServletMapping(ServletMapping mapping)
          Sets (adds) a new ServletMapping for this web applications.
 void setSessionPersistence(java.lang.Boolean persistence)
           
 void setSessionReplication(java.lang.Boolean replicate)
           
 void setSessionReplicationBuddies(java.util.List l)
           
 void setWebAppName(java.lang.String webAppName)
          Sets the web application name
 void setWebAppRoot(java.lang.String root)
          Sets the root location of the web application.
 void setWholeContextPath(java.lang.String str)
           
 void start()
          Every service other than mere data collections should start
 void stop()
          Every service other than mere data collections should stop
 
Methods inherited from class jrun.j2ee.J2EEModule
getClassLoader, getDeploymentOrigin, getEJBPeers, getJ2EEMetaData, isRunning, resolveEJBLinks, setClassLoader, setDeploymentOrigin, setEJBPeers, setJ2EEMetaData, setName, setRunning
 
Methods inherited from class jrunx.kernel.ConfigurableServicePartition
destroyServices, initServices, loadAndInit, loadChildren, setChildElements, startServices, stopServices
 
Methods inherited from class jrunx.kernel.ServicePartition
addService, addService, getServices, invokeChain, iterator, removeService, removeService
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, toString, unbind, unscheduleRunnable, updateStatus
 
Methods inherited from interface jrun.servlet.WebApplication
getLogger
 
Methods inherited from interface jrunx.kernel.ConfigurableServicePartitionMBean
setChildElements
 
Methods inherited from interface jrunx.kernel.ServicePartitionMBean
addService, addService, iterator, removeService, removeService
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
getStatus, updateStatus
 
Methods inherited from interface jrun.j2ee.J2EEModuleMBean
getDeploymentOrigin, isRunning, setDeploymentOrigin
 

Field Detail

resourceManager

protected ResourceManager resourceManager

servletEngine

protected ServletEngine servletEngine

sessionService

protected Session sessionService

appSecurity

protected WebAppSecurity appSecurity
Constructor Detail

WebApplicationService

public WebApplicationService(WebAppMetaData webAppMetaData)
Method Detail

init

public void init()
          throws java.lang.Exception
Description copied from class: ServiceAdapter
Not every service needs to init, implement it out of convenience.
Specified by:
init in interface Service
Overrides:
init in class ConfigurableServicePartition

start

public void start()
           throws java.lang.Exception
Description copied from class: ServiceAdapter
Every service other than mere data collections should start
Specified by:
start in interface Service
Overrides:
start in class ConfigurableServicePartition

postStart

public void postStart()
               throws java.lang.Exception
Description copied from class: J2EEModule
For j2ee modules within an ear that depend on all other modules being started
Overrides:
postStart in class J2EEModule

stop

public void stop()
          throws java.lang.Exception
Description copied from class: ServiceAdapter
Every service other than mere data collections should stop
Specified by:
stop in interface Service
Overrides:
stop in class ConfigurableServicePartition

destroy

public void destroy()
             throws java.lang.Exception
Description copied from class: ServiceAdapter
Every service is eventually destroyed. Convenience implementation.
Specified by:
destroy in interface Service
Overrides:
destroy in class ConfigurableServicePartition

getDescription

public java.lang.String getDescription()
Description copied from interface: WebApplicationServiceMBean
Gets the web application description
Specified by:
getDescription in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Returns:
the webapp description

setDisplayName

public void setDisplayName(java.lang.String displayName)

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: WebApplicationServiceMBean
Get the web application display name
Specified by:
getDisplayName in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Returns:
the display name from the descriptor if non-null or the web app name

setServletCheckInterval

public void setServletCheckInterval(long ms)
Description copied from interface: WebApplicationServiceMBean
The number of milliseconds between checking for a change in a servlet class file. Automatic reloading of modified servlet classes relies on this setting. A setting of -1 will result in disabling servlet reloading
Specified by:
setServletCheckInterval in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Parameters:
interval - Number of ms before checking for a new servlet class

getServletCheckInterval

public long getServletCheckInterval()
Description copied from interface: WebApplicationServiceMBean
Gets the servlet check interval
Specified by:
getServletCheckInterval in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Returns:
The number of ms before checking for a new servlet class

setWebAppName

public void setWebAppName(java.lang.String webAppName)
Description copied from interface: WebApplicationServiceMBean
Sets the web application name
Specified by:
setWebAppName in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Parameters:
name - The webapp name

getWebAppName

public java.lang.String getWebAppName()
Description copied from interface: WebApplicationServiceMBean
Gets the web application name
Specified by:
getWebAppName in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Returns:
The webapp name

setContextPath

public void setContextPath(java.lang.String path)
Description copied from interface: WebApplicationServiceMBean
Sets the context path of the web application. The context path must start with a '/'.
Specified by:
setContextPath in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Parameters:
path - The context path

getWholeContextPath

public java.lang.String getWholeContextPath()
Specified by:
getWholeContextPath in interface WebApplicationServiceMBean

setWholeContextPath

public void setWholeContextPath(java.lang.String str)
Specified by:
setWholeContextPath in interface WebApplicationServiceMBean

getContextPath

public java.lang.String getContextPath()

setWebAppRoot

public void setWebAppRoot(java.lang.String root)
Description copied from interface: WebApplicationServiceMBean
Sets the root location of the web application. This may be a directory path or a war file
Specified by:
setWebAppRoot in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Parameters:
root - The root location

getWebAppRoot

public java.lang.String getWebAppRoot()
Description copied from interface: WebApplicationServiceMBean
Gets the root location of the web application
Specified by:
getWebAppRoot in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Returns:
The root location

getServer

public ServletEngine getServer()
Description copied from interface: WebApplication
Gets the JRun server instance
Specified by:
getServer in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Returns:
The JRun server

getUriCharacterEncoding

public java.lang.String getUriCharacterEncoding()

getReload

public java.lang.Boolean getReload()
Gets whether dynamic reload is enabled
Specified by:
getReload in interface WebApplicationServiceMBean
Returns:
Whether dynamic reload is enabled.

setReload

public void setReload(java.lang.Boolean reload)
Set the dynamic reload meta data element.
Specified by:
setReload in interface WebApplicationServiceMBean
Parameters:
enable - Enables/disables dynamic reload

persistWebXML

public void persistWebXML()
                   throws java.rmi.RemoteException
Specified by:
persistWebXML in interface WebApplicationServiceMBean

persistJRunWebXML

public void persistJRunWebXML()
                       throws java.rmi.RemoteException
Specified by:
persistJRunWebXML in interface WebApplicationServiceMBean

getCompile

public java.lang.Boolean getCompile()
Gets whether dynamic compile is enabled
Specified by:
getCompile in interface WebApplicationServiceMBean
Returns:
Whether dynamic compile is enabled.

setCompile

public void setCompile(java.lang.Boolean compile)
Set the dynamic compile meta data element.
Specified by:
setCompile in interface WebApplicationServiceMBean
Parameters:
enable - Enables/disables dynamic reload

getSessionPersistence

public java.lang.Boolean getSessionPersistence()
Specified by:
getSessionPersistence in interface WebApplicationServiceMBean

setSessionPersistence

public void setSessionPersistence(java.lang.Boolean persistence)
Specified by:
setSessionPersistence in interface WebApplicationServiceMBean

getSessionReplication

public java.lang.Boolean getSessionReplication()
Specified by:
getSessionReplication in interface WebApplicationServiceMBean

setSessionReplication

public void setSessionReplication(java.lang.Boolean replicate)
Specified by:
setSessionReplication in interface WebApplicationServiceMBean

getSessionReplicationBuddies

public java.util.List getSessionReplicationBuddies()
Specified by:
getSessionReplicationBuddies in interface WebApplicationServiceMBean

setSessionReplicationBuddies

public void setSessionReplicationBuddies(java.util.List l)
Specified by:
setSessionReplicationBuddies in interface WebApplicationServiceMBean

getDocumentRoot

public java.lang.String getDocumentRoot()
Returns the current document root.
Specified by:
getDocumentRoot in interface WebApplicationServiceMBean
Returns:
Returns the document root for the web application

setDocumentRoot

public void setDocumentRoot(java.lang.String documentRoot)
Sets the current document root. This actually maps to a virtual mapping where the resource-path is / and the system-path is the documentRoot.
Specified by:
setDocumentRoot in interface WebApplicationServiceMBean
Parameters:
documentRoot - The document root for the web application

setDirectoryBrowsing

public void setDirectoryBrowsing(java.lang.Boolean directoryBrowsing)
Set directory browsing fo this web application
Specified by:
setDirectoryBrowsing in interface WebApplicationServiceMBean
Parameters:
enable - Enables/disables directory browsing.

getDirectoryBrowsing

public java.lang.Boolean getDirectoryBrowsing()
Gets whether directory browsing is enabled.
Specified by:
getDirectoryBrowsing in interface WebApplicationServiceMBean
Returns:
Whether directory browsing is enabled.

setFileServing

public void setFileServing(java.lang.Boolean enable)
Set whether file server is enabled for this web application
Specified by:
setFileServing in interface WebApplicationServiceMBean
Parameters:
enable - Whether file serving is enabled

getFileServing

public java.lang.Boolean getFileServing()
Gets whether file server is enabled for this web application
Specified by:
getFileServing in interface WebApplicationServiceMBean
Returns:
Whether file serving is enabled

preloadServlets

protected void preloadServlets()
                        throws javax.servlet.ServletException
initialize the application's servlets, loading them in pre-load order.

addWebXmlServletMappings

protected void addWebXmlServletMappings()

getDispatcher

public JRunRequestDispatcher getDispatcher(java.lang.String uri,
                                           java.lang.String queryString)
return a JRunRequestDispatcher for this request. dispatchers to special servlets are used for error conditions or for fixing up the path by using sendredirect.
Specified by:
getDispatcher in interface WebApplication
Returns:
a new dispatcher. does not return null.
Throws:
java.io.IOException - or ServletException, usually from loading a servlet.

pathIsLegal

protected boolean pathIsLegal(java.lang.String decodedUri)

getServletAlias

public java.lang.String getServletAlias(java.lang.String name)
Given a servlet name, return the servlet-class or (if a jsp-file) the name of the jsp servlet.
Parameters:
name - The servlet name
Returns:
The alias, or the servlet name if none found

isServlet

protected boolean isServlet(java.lang.String name)
Determines if the given servlet mapping represents a servlet

getWebApplication

public WebApplication getWebApplication()
Description copied from interface: WebApplicationServiceMBean
Returns a direct reference to the web application
Specified by:
getWebApplication in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Returns:
The web application

getServletEngine

public ServletEngine getServletEngine()
Description copied from interface: WebApplicationServiceMBean
Returns a direct reference to the servlet engine that this webapp belongs to.
Specified by:
getServletEngine in interface WebApplicationServiceMBean

getMimeType

public java.lang.String getMimeType(java.lang.String name)
Description copied from interface: WebApplication
Gets the mime type for the given resource name
Specified by:
getMimeType in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Parameters:
name - The resource name
Returns:
The mime type, or null if not found

setServletMapping

public void setServletMapping(ServletMapping mapping)
Description copied from interface: WebApplicationServiceMBean
Sets (adds) a new ServletMapping for this web applications. If the ServletMapping target is null or empty, the mapping will be removed.
Specified by:
setServletMapping in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Parameters:
mapping - The new mapping to add

getServletMappings

public java.util.Set getServletMappings()
Description copied from interface: WebApplication
Returns the current set of servlet mappings, sorted longest first
Specified by:
getServletMappings in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Returns:
The current servlet mappings

getServletAliasClass

public java.lang.String getServletAliasClass(java.lang.String name)
Description copied from interface: WebApplication
Given a servlet alias name, return the servlet class.
Specified by:
getServletAliasClass in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Parameters:
name - The servlet alias name
Returns:
The servlet class, or null if not found (or not a servlet)

getResource

public Resource getResource(java.lang.String path)
Description copied from interface: WebApplication
Gets a Resource at the specified relative path within the document root
Specified by:
getResource in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Parameters:
path - The relative path
Returns:
The Resource that represents the path, or null if not found or not available

getResourceAsStream

public java.io.InputStream getResourceAsStream(java.lang.String path)
                                        throws java.io.IOException
Description copied from interface: WebApplication
Gets an InputStream for reading the relative path within the document root
Specified by:
getResourceAsStream in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Parameters:
path - The relative path
Returns:
The InputStream for reading the resource, or null if not found or not available

getRequestDispatcher

public javax.servlet.RequestDispatcher getRequestDispatcher(java.lang.String path)
this method is the implementation for ServletContext.getRequestDispatcher(String) and returns a (potentially cached) dispatcher for the given resource.
Specified by:
getRequestDispatcher in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Parameters:
path - The resource path
Returns:
The RequestDispatcher, or null for none

getNamedDispatcher

public javax.servlet.RequestDispatcher getNamedDispatcher(java.lang.String servletName)
this is the implementation for ServletContext.getNamedDispatcher.
Specified by:
getNamedDispatcher in interface WebApplication
Returns:
a possibly cached RequestDispatcher

getServletDispatcher

public JRunRequestDispatcher getServletDispatcher(java.lang.String uri,
                                                  java.lang.Class servletClass)
get a request dispatcher for an internal servlet, by class. The is used for internal error handler servlets.

loadClass

public java.lang.Class loadClass(java.lang.String name)
Description copied from interface: WebApplication
Loads the named class using the ClassLoader for the WebApplication
Specified by:
loadClass in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Parameters:
className - The class name
Returns:
The loaded class, or null if the class could not be loaded

getSessionService

public Session getSessionService()
Description copied from interface: WebApplication
Returns the current Session service
Specified by:
getSessionService in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Returns:
The Session service

loadServlet

public javax.servlet.Servlet loadServlet(java.lang.String servletName,
                                         java.lang.String className)
                                  throws java.io.IOException,
                                         javax.servlet.ServletException
Description copied from interface: WebApplication
Loads the servlet using the ClassLoader for the WebApplication
Specified by:
loadServlet in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Parameters:
servletName - The servlet name. This may be an alias name.
Returns:
The loaded/initialized servlet or null if the servlet was not found.

createClassLoader

protected void createClassLoader()

getWebappClassLoader

public java.lang.ClassLoader getWebappClassLoader()
Specified by:
getWebappClassLoader in interface WebApplication

getURL

protected java.net.URL getURL(Resource r)

getServletContext

public javax.servlet.ServletContext getServletContext()
Description copied from interface: WebApplication
Gets the servlet context for this web application
Specified by:
getServletContext in interface WebApplication
Following copied from interface: jrun.servlet.WebApplication
Returns:
The servlet context

initListeners

protected void initListeners()
                      throws javax.servlet.ServletException
Loads any event listeners defined in web.xml.

addListener

public void addListener(java.lang.String listenerName)
Description copied from interface: WebApplication
Add an event listener to the the web app.
Specified by:
addListener in interface WebApplication

addListener

public void addListener(java.lang.Object o)
Description copied from interface: WebApplication
Add an event listener to the the web app.
Specified by:
addListener in interface WebApplication

destroyListeners

protected void destroyListeners()
                         throws javax.servlet.ServletException
Destroys any event listeners defined in web.xml in reverse order

getServletContextListeners

public java.util.Vector getServletContextListeners()
Description copied from interface: WebApplication
Returns the list of ServletContextListener objects or null if none
Specified by:
getServletContextListeners in interface WebApplication

getServletContextAttributeListeners

public java.util.Vector getServletContextAttributeListeners()
Description copied from interface: WebApplication
Returns the list of ServletContextAttributeListener objects or null if none
Specified by:
getServletContextAttributeListeners in interface WebApplication

getHttpSessionListeners

public java.util.Vector getHttpSessionListeners()
Description copied from interface: WebApplication
Returns the list of HttpSessionListener objects or null if none
Specified by:
getHttpSessionListeners in interface WebApplication

getHttpSessionAttributeListeners

public java.util.Vector getHttpSessionAttributeListeners()
Description copied from interface: WebApplication
Returns the list of HttpSessionAttributeListener objects or null if none
Specified by:
getHttpSessionAttributeListeners in interface WebApplication

getFilterManager

public FilterManager getFilterManager()
Description copied from interface: WebApplication
Returns the current filter manager or null if there are no filters configured.
Specified by:
getFilterManager in interface WebApplication

getWebAppMetaData

public WebAppMetaData getWebAppMetaData()
Description copied from interface: WebApplicationServiceMBean
Gets the metadata as read from web.xml
Specified by:
getWebAppMetaData in interface WebApplicationServiceMBean
Following copied from interface: jrun.servlet.WebApplicationServiceMBean
Returns:
The web.xml metadata

equals

public boolean equals(java.lang.Object obj)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.