org.jasig.portal.jmx
Class JavaManagementServerListener
java.lang.Object
org.jasig.portal.jmx.JavaManagementServerListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class JavaManagementServerListener
- extends Object
- implements ServletContextListener
A Listener that wraps a JavaManagementServerBean. Please look at its documentation
for the appropriate system properties to set.
The ports are configured via <context-param> elements in the web.xml
The org.jasig.portal.servlet.JavaManagementServerListener.portOne context-param
is required. The org.jasig.portal.servlet.JavaManagementServerListener.portTwo
context-param is optional, if not specified portTwo is calculated as portOne + 1.
If a failure to start or stop the JMX server should cause the listener to throw an exception set
the context-param org.jasig.portal.servlet.JavaManagementServerListener.failOnException
to true.
- Version:
- $Revision: 19776 $
- Author:
- Eric Dalquist eric.dalquist@doit.wisc.edu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMX_RMI_HOST
public static final String JMX_RMI_HOST
- See Also:
- Constant Field Values
JMX_RMI_PORT_1
public static final String JMX_RMI_PORT_1
- See Also:
- Constant Field Values
JMX_RMI_PORT_2
public static final String JMX_RMI_PORT_2
- See Also:
- Constant Field Values
FAIL_ON_EXCEPTION
public static final String FAIL_ON_EXCEPTION
- See Also:
- Constant Field Values
logger
protected final org.apache.commons.logging.Log logger
JavaManagementServerListener
public JavaManagementServerListener()
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized in interface ServletContextListener
- See Also:
ServletContextListener.contextInitialized(javax.servlet.ServletContextEvent)
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed in interface ServletContextListener
- See Also:
ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)
Copyright © 2010 Jasig. All Rights Reserved.