You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kf...@apache.org on 2013/05/09 07:55:55 UTC
svn commit: r1480533 -
/tomcat/trunk/java/org/apache/catalina/mbeans/ContainerMBean.java
Author: kfujino
Date: Thu May 9 05:55:55 2013
New Revision: 1480533
URL: http://svn.apache.org/r1480533
Log:
Rename in order to prevent execution errors in via JMX.
addLifeCycleListener -> addLifecycleListener
removeLifeCycleListener -> removeLifecycleListener
Modified:
tomcat/trunk/java/org/apache/catalina/mbeans/ContainerMBean.java
Modified: tomcat/trunk/java/org/apache/catalina/mbeans/ContainerMBean.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/mbeans/ContainerMBean.java?rev=1480533&r1=1480532&r2=1480533&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/mbeans/ContainerMBean.java (original)
+++ tomcat/trunk/java/org/apache/catalina/mbeans/ContainerMBean.java Thu May 9 05:55:55 2013
@@ -223,7 +223,7 @@ public class ContainerMBean extends Base
*
* @param type ClassName of the listener to add
*/
- public void addLifeCycleListener(String type) throws MBeanException{
+ public void addLifecycleListener(String type) throws MBeanException{
LifecycleListener listener = null;
try {
listener = (LifecycleListener)Class.forName(type).newInstance();
@@ -255,7 +255,7 @@ public class ContainerMBean extends Base
* @param type The ClassName of the listeners to be removed.
* Note that all the listeners having given ClassName will be removed.
*/
- public void removeLifeCycleListeners(String type) throws MBeanException{
+ public void removeLifecycleListeners(String type) throws MBeanException{
Container container=null;
try {
container = (Container)getManagedResource();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org