Re: [JBoss-user] Registering a servlet in JBoss MBean server

2002-09-09 Thread Greg Turner
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

AW: [JBoss-user] Registering a servlet in JBoss MBean server

2002-09-09 Thread Jung , Dr. Christoph
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

[JBoss-user] Registering a servlet in JBoss MBean server

2002-09-09 Thread Jon Brisbin
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