All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.configuration.parsing.AbstractParserContext Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.configuration.parsing;

import java.util.ArrayList;
import java.util.List;

public class AbstractParserContext implements ParserContext {
   List listeners = new ArrayList();

   @Override
   public void addParsingCompleteListener(ParserContextListener l) {
      listeners.add(l);
   }

   @Override
   public void fireParsingComplete() {
      for(ParserContextListener l : listeners) {
         l.parsingComplete(this);
      }
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy