jrun.servlet
Interface ServletEngine
- All Superinterfaces:
- ConfigurableServicePartitionMBean, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean, ServletEngineServiceMBean
- All Known Implementing Classes:
- ServletEngineService
- public interface ServletEngine
- extends ServletEngineServiceMBean
Functional interface for the JRun Servlet Engine Service.
- Author:
- Karl Moss
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
setWebAppMapping
public void setWebAppMapping(WebAppMapping mapping)
throws java.lang.Exception
- Sets (adds) a new WebAppMapping for the servlet engine. If the
WebAppMapping target is null or empty, the mapping will be removed.
- Parameters:
mapping - The new mapping to add
findWebApplication
public WebApplication findWebApplication(java.lang.String uri)
- Finds the WebApplication that will service the request specified in
the given uri
- Parameters:
uri - The request uri
getExpandedMappings
public java.util.Set getExpandedMappings()
- Return all the mappings for each of the web-apps
we know about.
dispatch
public void dispatch(ServletConnection connection)
- Service a request
- Parameters:
request - The HttpServletRequestresponse - The HttpServletResponse
getServletUsers
public ServletUsers getServletUsers()
- Get a direct reference to the ServletUsers
for the servlet engine
getReplicationIdService
public ReplicationIdService getReplicationIdService()
- Get the ReplicationIdService
getSessionReplicationService
public SessionReplicationService getSessionReplicationService()
Copyright � 2002 Macromedia Corporation. All Rights Reserved.