package org.onetwo.plugins.monitor;

import org.onetwo.common.web.server.events.AfterWebappAddEvent;
import org.onetwo.common.web.server.tomcat.EmbeddedTomcatListener;

import com.google.common.eventbus.Subscribe;

public class WebServerListener implements EmbeddedTomcatListener {
	
	@Subscribe
	public void lister(AfterWebappAddEvent event ){
		//http://hawt.io/configuration/index.html
		System.setProperty("hawtio.authenticationEnabled", "false");
	}

}

@@ -71,17 +71,16 @@
 er.event
-s
 .AfterWe
@@ -133,14 +133,16 @@
 ver.
-tomcat
+listener
 .Emb
@@ -138,38 +138,38 @@
 istener.Embedded
-Tomcat
+Server
 Listener;%0A%0Aimpor
@@ -263,14 +263,14 @@
 dded
-Tomcat
+Server
 List
@@ -329,16 +329,19 @@
 AddEvent
+%3C?%3E
  event )

修复 WebServerListener 编译错误