Examples of CatalogAddEvent


Examples of org.geoserver.catalog.event.CatalogAddEvent

    if (event == null) {
      throw new IllegalArgumentException("Incoming object is null");
    }
    try {
      if (event instanceof CatalogAddEvent) {
        final CatalogAddEvent addEv = ((CatalogAddEvent) event);
       
        // get the source from the incoming event
        final CatalogInfo info = addEv.getSource();
        // disable the producer to avoid recursion
        producer.disable();
       
        // add the incoming CatalogInfo to the local catalog
        JMSCatalogAddEventHandler.add(catalog, info);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.