org.apache.servicemix.web.jmx
Class JMXServletSupport
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.servicemix.web.jmx.JMXServletSupport
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Direct Known Subclasses:
- JMXServlet
public abstract class JMXServletSupport
- extends HttpServlet
A useful base class for any JMS related servlet; there are various ways to
map JMS operations to web requests so we put most of the common behaviour in
a reusable base class.
- Version:
- $Revision: 356269 $
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MANAGEMENT_CONTEXT_PROPERTY
protected static final String MANAGEMENT_CONTEXT_PROPERTY
- See Also:
- Constant Field Values
JMXServletSupport
public JMXServletSupport()
init
public void init()
throws ServletException
- Overrides:
init in class GenericServlet
- Throws:
ServletException
getMBeanServer
public MBeanServer getMBeanServer()
getManagementContext
public ManagementContext getManagementContext()
setManagementContext
public void setManagementContext(ManagementContext managementContext)
getQueryExp
protected QueryExp getQueryExp(HttpServletRequest request)
throws ServletException
- Throws:
ServletException
getObjectName
protected ObjectName getObjectName(HttpServletRequest request)
throws ServletException
- Throws:
ServletException
asBoolean
protected boolean asBoolean(HttpServletRequest request,
String name)
- Converts the value of the named parameter into a boolean
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.