@@ -0,0 +1,1063 @@
+/*%0A * Copyright (C) 2014- now() The  esper-2015  Authors%0A *%0A * https://github.com/sdcuike%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.doctor.esper.subscriber;%0A%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport com.doctor.esper.event.MyEvent;%0A%0A/**%0A * @author doctor%0A *%0A * @time 2015%E5%B9%B46%E6%9C%8823%E6%97%A5 %E4%B8%8B%E5%8D%882:34:19%0A */%0Apublic class MyEventSubscriber %7B%0A%09private static final Logger log = LoggerFactory.getLogger(MyEventSubscriber.class);%0A%0A%09public void update(MyEvent myEvent) %7B%0A%09%09log.info(%22%7B%7D:%7B%7D%22, this.getClass().getName(), myEvent);%0A%09%7D%0A%7D%0A

add MyEventSubscriber