Scott M Stark wrote:
Jetty currently does not provide MBean peers at the Servlet, but does at the WebApp level.There are two layers of integration between web containers and JSR77 model components I want to implement for 3.2 The first is the JSR77 WebModule which is handled at the AbstractWebContainer level. Subclasses of AbstractWebContainer need to populate the DeploymentInfo.mbeans list with the JMX ObjectNames of the war's servlets managment objects. If the container is not creating JMX objects for the servlets just place the name of the servlet in there.
Would it be useful to return this for each Servlet within it ? I could probably get that in tonight ?
Jetty does provide mechanisms for collecting stats (but not at individual servlet level). If you could be specific about exactly what these figures represent, or point me to a doc, I'll see what I can do.The more problematic model is the ServletStats which requires access to the following time statistics on a servlet's service method: - long minTime in milliseconds - long maxTime in milliseconds - long totalTime in milliseconds
Jules
This does require the servlet container to create a MBean facade that provides this information. This should be the MBean whose name is added to the DeploymentInfo.mbean list. How big a deal is this going to be to add support for Jetty and Tomcat?
You provide me an interface/abstract-class and I implement/extend it ? Jules
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development