|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
MBean interface for the JRun Servlet Engine Service.
| Fields inherited from interface jrunx.kernel.Service |
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED |
| Method Summary | |
java.lang.String |
getDefaultLocale()
Gets the current default locale for the VM |
java.lang.String |
getMimeType(java.lang.String name)
Gets the mime type for the given resource name |
java.lang.String |
getMimeTypesPath()
Gets the path of the mime.types file, or null if none. |
long |
getServletCheckInterval()
Gets the servlet check interval |
ServletEngine |
getServletEngine()
Returns a direct reference to the servlet engine |
void |
setDefaultLocale(java.lang.String locale)
Sets the new default locale for the entire VM |
void |
setMimeMapping(MimeMapping mapping)
Sets (adds) a new MimeMapping for the servlet engine |
void |
setMimeTypesPath(java.lang.String path)
Sets the path of the mime.types file. |
void |
setServletCheckInterval(long ms)
The number of milliseconds between checking for a change in a servlet class file. |
void |
setVirtualHostMapping(VirtualHostMapping mapping)
Sets (adds) a new VirtualHostMapping for the servlet engine |
| 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 |
| Method Detail |
public ServletEngine getServletEngine()
public void setMimeTypesPath(java.lang.String path)
throws java.lang.Exception
path - The relative path of the mime.types file.public java.lang.String getMimeTypesPath()
public void setMimeMapping(MimeMapping mapping)
mapping - The new MIME mapping to addpublic java.lang.String getMimeType(java.lang.String name)
name - The resource namepublic void setVirtualHostMapping(VirtualHostMapping mapping)
mapping - The new mapping to addpublic void setDefaultLocale(java.lang.String locale)
locale - The new localepublic java.lang.String getDefaultLocale()
public void setServletCheckInterval(long ms)
interval - Number of ms before checking for a new servlet classpublic long getServletCheckInterval()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||