// 统计信息
 @Override
 public void getStatistics(StatisticsList list) {
   super.getStatistics(list);
   // list.add(getName(), "Spam messages found", totalSpamCounter,
   // Level.INFO);
   // list.add(getName(), "All messages processed", messagesCounter,
   // Level.FINER);
   // if (list.checkLevel(Level.FINEST)) {
   // // 可以把那些非常消耗系统资源的统计数据产生代码写在下面
   // }
 }
 @Override
 public void setProperties(Map<String, Object> props) throws ConfigurationException {
   super.setProperties(props);
   if (props.get(PACKET_TYPES_KEY) != null) {
     packetTypes = (String[]) props.get(PACKET_TYPES_KEY);
   }
   // Make sure we can compare element names by reference
   // instead of String content
   for (int i = 0; i < packetTypes.length; i++) {
     packetTypes[i] = packetTypes[i].intern();
   }
   if (props.get(PREPEND_TEXT_KEY) != null) {
     prependText = (String) props.get(PREPEND_TEXT_KEY);
   }
 }
 // 脚本支持
 @Override
 public void initBindings(Bindings binds) {
   super.initBindings(binds);
   //	  binds.put(BAD_WORDS_VAR, badWords);
   //	  binds.put(WHITE_LIST_VAR, whiteList);
 }
 @Override
 public synchronized void everyHour() {
   super.everyHour();
   System.out.println("everyHour@@@@@@@@@@@@@@@@@@@@@@@@@@@");
 }
 @Override
 public synchronized void everyMinute() {
   super.everyMinute();
   System.out.println("everyMinute=========================");
 }
  // 执行周期性任务
  @Override
  public synchronized void everySecond() {
    super.everySecond();
    //		System.out.println("everySecond");

  }