| |
|
| clime.messadmin.model.IApplicationInfo
All known Subclasses: clime.messadmin.model.ApplicationInfo,
IApplicationInfo | public interface IApplicationInfo (Code) | | author: Cédrik LIME |
getActiveSessionsCount | public int getActiveSessionsCount()(Code) | | current number of active HttpSessions for this application |
getActiveSessionsSize | public long getActiveSessionsSize()(Code) | | memory size of all active HttpSessions for this application |
getApplicationSpecificData | public List getApplicationSpecificData()(Code) | | application-specific data (user plugin) |
getAttribute | public Object getAttribute(String name)(Code) | | Returns the servlet container attribute with the given name,
or null if there is no attribute by that name.
An attribute allows a servlet container to give the
servlet additional information not
already provided by this interface. See your
server documentation for information about its attributes.
A list of supported attributes can be retrieved using
getAttributeNames .
The attribute is returned as a java.lang.Object
or some subclass.
Attribute names should follow the same convention as package
names. The Java Servlet API specification reserves names
matching java.* , javax.* ,
and sun.* .
Parameters: name - a String specifying the name of the attribute an Object containing the value of the attribute, or null if no attribute exists matching the givenname See Also: javax.servlet.ServletContext.getAttribute(java.lang.String) |
getAttributes | public Map getAttributes()(Code) | | Returns the servlet container attributes.
An attribute allows a servlet container to give the
servlet additional information not
already provided by this interface. See your
server documentation for information about its attributes.
The attribute is returned as a java.lang.Object
or some subclass.
Attribute names should follow the same convention as package
names. The Java Servlet API specification reserves names
matching java.* , javax.* ,
and sun.* .
an Map<String,Object> containing theattributes See Also: javax.servlet.ServletContext.getAttributeNames See Also: javax.servlet.ServletContext.getAttribute(java.lang.String) |
getClassLoader | public ClassLoader getClassLoader()(Code) | | ClassLoader associated with this ServletContext. |
getContextPath | public String getContextPath()(Code) | | Returns the portion of the request URI that indicates the context
of the request. The context path always comes first in a request
URI. The path starts with a "/" character but does not end with a "/"
character. For servlets in the default (root) context, this method
returns "". The container does not decode this string.
a String specifying theportion of the request URI that indicates the contextof the request See Also: javax.servlet.http.HttpServletRequest.getContextPath |
getHits | public int getHits()(Code) | | number of hits for this application |
getInitParameter | public String getInitParameter(String name)(Code) | | Returns a String containing the value of the named
context-wide initialization parameter, or null if the
parameter does not exist.
This method can make available configuration information useful
to an entire "web application". For example, it can provide a
webmaster's email address or the name of a system that holds
critical data.
Parameters: name - a String containing the name of theparameter whose value is requested a String containing at least the servlet container name and version number See Also: javax.servlet.ServletContext.getInitParameter(java.lang.String) |
getInternalContextPath | public String getInternalContextPath()(Code) | | Internal ID of this application. This is unique and has not human meaning. |
getLastError | public ErrorData getLastError()(Code) | | last error generated during request processing, or null if none |
getMaxConcurrentSessions | public long getMaxConcurrentSessions()(Code) | | maximum of concurrent sessions for this application |
getMaxConcurrentSessionsDate | public Date getMaxConcurrentSessionsDate()(Code) | | date of maximum of concurrent sessions for this application |
getNErrors | public int getNErrors()(Code) | | number of exceptions generated during request processing |
getPassiveSessionsCount | public int getPassiveSessionsCount()(Code) | | current number of passive HttpSessions for this application |
getRequestMaxLength | public long getRequestMaxLength()(Code) | | maximum number of network bytes received by this application for a request |
getRequestMaxLengthDate | public Date getRequestMaxLengthDate()(Code) | | date at which maximum number of network bytes received by this application for a request |
getRequestMeanLength | public double getRequestMeanLength()(Code) | | mean of number of network bytes received by this application for a request |
getRequestStdDevLength | public double getRequestStdDevLength()(Code) | | Std Dev of number of network bytes received by this application for a request |
getRequestTotalLength | public long getRequestTotalLength()(Code) | | total number of network bytes received by this application |
getResponseMaxLength | public long getResponseMaxLength()(Code) | | maximum number of network bytes sent by this application for a response |
getResponseMaxLengthDate | public Date getResponseMaxLengthDate()(Code) | | date at which maximum number of network bytes sent by this application for a response |
getResponseMeanLength | public double getResponseMeanLength()(Code) | | mean of number of network bytes sent by this application for a response |
getResponseStdDevLength | public double getResponseStdDevLength()(Code) | | Std Dev of number of network bytes sent by this application for a response |
getResponseTotalLength | public long getResponseTotalLength()(Code) | | total number of network bytes sent by this application |
getServerInfo | public String getServerInfo()(Code) | | Returns the name and version of the servlet container on which
the servlet is running.
The form of the returned string is
servername/versionnumber.
For example, the JavaServer Web Development Kit may return the string
JavaServer Web Dev Kit/1.0 .
The servlet container may return other optional information
after the primary string in parentheses, for example,
JavaServer Web Dev Kit/1.0 (JDK 1.1.6; Windows NT 4.0 x86) .
a String containing at least the servlet container name and version number See Also: javax.servlet.ServletContext.getServerInfo |
getServletContextName | public String getServletContextName()(Code) | | Returns the name of this web application corresponding to this ServletContext as specified in the deployment
descriptor for this web application by the display-name element.
The name of the web application or null if no name has been declared in the deployment descriptor. since: Servlet 2.3 See Also: javax.servlet.ServletContext.getServletContextName |
getStartupTime | public Date getStartupTime()(Code) | | startup time of this application |
getTotalCreatedSessions | public long getTotalCreatedSessions()(Code) | | total number of created sessions for this application |
getUsedTimeMax | public long getUsedTimeMax()(Code) | | maximum number of milliseconds this application has used to service a request |
getUsedTimeMaxDate | public Date getUsedTimeMaxDate()(Code) | | date at which maximum number of milliseconds this application has used to service a request |
getUsedTimeMean | public double getUsedTimeMean()(Code) | | mean of number of milliseconds this application has used to service requests |
getUsedTimeStdDev | public double getUsedTimeStdDev()(Code) | | SdDev of number of milliseconds this application has used to service requests |
getUsedTimeTotal | public long getUsedTimeTotal()(Code) | | total number of milliseconds this application has used to service requests |
setAttribute | public void setAttribute(String name, Object object)(Code) | | Binds an object to a given attribute name in this servlet context. If
the name specified is already used for an attribute, this
method will replace the attribute with the new to the new attribute.
If listeners are configured on the ServletContext the
container notifies them accordingly.
If a null value is passed, the effect is the same as calling
removeAttribute() .
Attribute names should follow the same convention as package
names. The Java Servlet API specification reserves names
matching java.* , javax.* , and
sun.* .
Parameters: name - a String specifying the name of the attribute Parameters: object - an Object representing theattribute to be bound See Also: javax.servlet.ServletContext.setAttribute(java.lang.Stringjava.lang.Object) |
|
|
|