|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
MBean interface for the JRun Web Application Service.
| Fields inherited from interface jrunx.kernel.Service |
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED |
| Method Summary | |
java.lang.Boolean |
getCompile()
Gets whether dynamic compile is enabled |
java.lang.String |
getDescription()
Gets the web application description |
java.lang.Boolean |
getDirectoryBrowsing()
Gets whether directory browsing is enabled. |
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 |
java.lang.Boolean |
getReload()
Gets whether dynamic reload is enabled |
long |
getServletCheckInterval()
Gets the servlet check interval |
ServletEngine |
getServletEngine()
Returns a direct reference to the servlet engine that this webapp belongs to. |
java.lang.Boolean |
getSessionPersistence()
|
java.lang.Boolean |
getSessionReplication()
|
java.util.List |
getSessionReplicationBuddies()
|
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 |
persistJRunWebXML()
|
void |
persistWebXML()
|
void |
setCompile(java.lang.Boolean enable)
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 |
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 enable)
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 name)
Sets the web application name |
void |
setWebAppRoot(java.lang.String root)
Sets the root location of the web application. |
void |
setWholeContextPath(java.lang.String contextPath)
|
| 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, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
| Methods inherited from interface jrunx.kernel.Service |
destroy, getStatus, init, start, stop, updateStatus |
| Methods inherited from interface jrun.j2ee.J2EEModuleMBean |
getDeploymentOrigin, isRunning, setDeploymentOrigin |
| Method Detail |
public WebApplication getWebApplication()
public void setWebAppName(java.lang.String name)
name - The webapp namepublic java.lang.String getWebAppName()
public java.lang.String getDescription()
public java.lang.String getDisplayName()
public void setContextPath(java.lang.String path)
path - The context pathpublic java.lang.String getWholeContextPath()
public void setWholeContextPath(java.lang.String contextPath)
public void setCompile(java.lang.Boolean enable)
enable - Enables/disables dynamic reloadpublic java.lang.Boolean getCompile()
public void setDocumentRoot(java.lang.String documentRoot)
documentRoot - The document root for the web applicationpublic java.lang.String getDocumentRoot()
public void setDirectoryBrowsing(java.lang.Boolean directoryBrowsing)
enable - Enables/disables directory browsing.public java.lang.Boolean getDirectoryBrowsing()
public void setReload(java.lang.Boolean enable)
enable - Enables/disables dynamic reloadpublic java.lang.Boolean getReload()
public void setFileServing(java.lang.Boolean enable)
enable - Whether file serving is enabledpublic java.lang.Boolean getFileServing()
public void setWebAppRoot(java.lang.String root)
root - The root locationpublic java.lang.String getWebAppRoot()
public void setServletMapping(ServletMapping mapping)
mapping - The new mapping to addpublic WebAppMetaData getWebAppMetaData()
public ServletEngine getServletEngine()
public void setServletCheckInterval(long ms)
interval - Number of ms before checking for a new servlet classpublic long getServletCheckInterval()
public void setSessionReplication(java.lang.Boolean replicate)
public java.lang.Boolean getSessionReplication()
public void setSessionReplicationBuddies(java.util.List l)
public java.util.List getSessionReplicationBuddies()
public void setSessionPersistence(java.lang.Boolean persistence)
public java.lang.Boolean getSessionPersistence()
public void persistJRunWebXML()
throws java.rmi.RemoteException
public void persistWebXML()
throws java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||