Java Doc for IApplicationInfo.java in  » Profiler » MessAdmin » clime » messadmin » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Profiler » MessAdmin » clime.messadmin.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


clime.messadmin.model.IApplicationInfo

All known Subclasses:   clime.messadmin.model.ApplicationInfo,
IApplicationInfo
public interface IApplicationInfo (Code)

author:
   Cédrik LIME




Method Summary
public  intgetActiveSessionsCount()
    
public  longgetActiveSessionsSize()
    
public  ListgetApplicationSpecificData()
    
public  ObjectgetAttribute(String name)
     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.
public  MapgetAttributes()
     Returns the servlet container attributes. An attribute allows a servlet container to give the servlet additional information not already provided by this interface.
public  ClassLoadergetClassLoader()
    
public  StringgetContextPath()
     Returns the portion of the request URI that indicates the context of the request.
public  intgetHits()
    
public  StringgetInitParameter(String name)
     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".

public  MapgetInitParameters()
     Returns a Map<String,String> containing the context-wide initialization parameters.

This method can make available configuration information useful to an entire "web application".

public  StringgetInternalContextPath()
     Internal ID of this application.
public  ErrorDatagetLastError()
    
public  longgetMaxConcurrentSessions()
    
public  DategetMaxConcurrentSessionsDate()
    
public  intgetNErrors()
    
public  intgetPassiveSessionsCount()
    
public  longgetRequestMaxLength()
    
public  DategetRequestMaxLengthDate()
    
public  doublegetRequestMeanLength()
    
public  doublegetRequestStdDevLength()
    
public  longgetRequestTotalLength()
    
public  longgetResponseMaxLength()
    
public  DategetResponseMaxLengthDate()
    
public  doublegetResponseMeanLength()
    
public  doublegetResponseStdDevLength()
    
public  longgetResponseTotalLength()
    
public  StringgetServerInfo()
     Returns the name and version of the servlet container on which the servlet is running.
public  StringgetServletContextName()
     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.
public  DategetStartupTime()
    
public  longgetTotalCreatedSessions()
    
public  longgetUsedTimeMax()
    
public  DategetUsedTimeMaxDate()
    
public  doublegetUsedTimeMean()
    
public  doublegetUsedTimeStdDev()
    
public  longgetUsedTimeTotal()
    
public  voidremoveAttribute(String name)
     Removes the attribute with the given name from the servlet context.
public  voidsetAttribute(String name, Object object)
     Binds an object to a given attribute name in this servlet context.



Method Detail
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 nullif 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)




getInitParameters
public Map getInitParameters()(Code)
Returns a Map<String,String> containing the context-wide initialization parameters.

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. a Map<String,String> containing at least the servlet container name and version number
See Also:   javax.servlet.ServletContext.getInitParameterNames
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



removeAttribute
public void removeAttribute(String name)(Code)
Removes the attribute with the given name from the servlet context. After removal, subsequent calls to IApplicationInfo.getAttribute to retrieve the attribute's value will return null.

If listeners are configured on the ServletContext the container notifies them accordingly.
Parameters:
  name - a String specifying the name of the attribute to be removed
See Also:   javax.servlet.ServletContext.removeAttribute(java.lang.String)




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)




www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.