Jon,
Yes, this is possible thru your 2nd suggestion.
public class ManagedServlet extends ManagedServletMBean {
private HttpServlet servlet;
public ManagedServlet (HttpServlet s) {
this.servlet = s;
}
}
In your servlet init code, just instantiate ManagedServlet and register
it with
servlet in JBoss MBean server
I'd like to have a servlet registered in the MBean server. I first thought
I'd just make it an MBean and deploy it like my other MBeans, using
jboss.net as an example. It looks like I can't guarantee that the instance
in the webapp is the one in t
I'd like to have a servlet registered in the MBean server. I first
thought I'd just make it an MBean and deploy it like my other MBeans,
using jboss.net as an example. It looks like I can't guarantee that
the instance in the webapp is the one in the MBean server, though.
Would it make sense to