Examples of CatalogAddEventImpl


Examples of org.geoserver.catalog.event.impl.CatalogAddEventImpl

    protected void added(CatalogInfo object) {
        fireAdded(object);
    }

    protected void fireAdded(CatalogInfo object) {
        CatalogAddEventImpl event = new CatalogAddEventImpl();
        event.setSource(object);

        event(event);
    }
View Full Code Here

Examples of org.geoserver.catalog.event.impl.CatalogAddEventImpl

    protected void added(CatalogInfo object) {
        fireAdded( object );
    }
   
    protected void fireAdded(CatalogInfo object) {
        CatalogAddEventImpl event = new CatalogAddEventImpl();
        event.setSource(object);

        event(event);
    }
View Full Code Here

Examples of org.geoserver.catalog.event.impl.CatalogAddEventImpl

        listener = new CatalogLayerEventListener(mockMediator, mockCatalog);
    }

    @Test public void testLayerInfoAdded() throws Exception {
        CatalogAddEventImpl event = new CatalogAddEventImpl();
        event.setSource(mockLayerInfo);

        listener.handleAddEvent(event);

        verify(mockMediator).add(Mockito.any(GeoServerTileLayer.class));
    }
View Full Code Here

Examples of org.geoserver.catalog.event.impl.CatalogAddEventImpl

        verify(mockMediator).add(Mockito.any(GeoServerTileLayer.class));
    }

    @Test public void testLayerGroupInfoAdded() throws Exception {

        CatalogAddEventImpl event = new CatalogAddEventImpl();
        event.setSource(mockLayerGroupInfo);

        listener.handleAddEvent(event);

        verify(mockMediator).add(Mockito.any(GeoServerTileLayer.class));
    }
View Full Code Here

Examples of org.geoserver.catalog.event.impl.CatalogAddEventImpl

    protected void removed(CatalogInfo object) {
        fireRemoved( object );
    }
   
    public void fireAdded(CatalogInfo object) {
        CatalogAddEventImpl event = new CatalogAddEventImpl();
        event.setSource(object);

        event(event);
    }
View Full Code Here

Examples of org.geoserver.catalog.event.impl.CatalogAddEventImpl

    protected void removed(CatalogInfo object) {
        fireRemoved( object );
    }
   
    public void fireAdded(CatalogInfo object) {
        CatalogAddEventImpl event = new CatalogAddEventImpl();
        event.setSource(object);

        event(event);
    }
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.