Examples of removeListener()


Examples of org.jvnet.glassfish.comms.clb.core.util.LoadFactorTask.removeListener()

            actualHash.removeNode(serverInstance, true);
            clbHash.removeNode(serverInstance, true);
            LoadFactorTask task = repository.getAddTask(serverInstance.toString());
            if(task != null){
                task.removeListener(DataCentricUtilImpl.this);
            }
            if(!serverInstance.getName().equals(localInstanceName)){
                failoverHash.removeNode(serverInstance, true);
            }
View Full Code Here

Examples of org.jvnet.hk2.config.ObservableBean.removeListener()

    }

    private void removeListenerForServer() {
        Server server  = domain.getServerNamed(environment.getInstanceName());
        ObservableBean bean = (ObservableBean) ConfigSupport.getImpl((ConfigBeanProxy)server);
        bean.removeListener(this);
    }

    private ConnectorRuntime getConnectorRuntime() {
        if(runtime == null){
            runtime = connectorRuntimeHabitat.getComponent(ConnectorRuntime.class, null);
View Full Code Here

Examples of org.locationtech.udig.aoi.IAOIService.removeListener()

        if( table!=null)
            table.dispose();
       
        if( aoiServiceListener!=null){
            IAOIService aOIService = PlatformGIS.getAOIService();
            aOIService.removeListener(aoiServiceListener);
        }
       
        super.dispose();
        if( activePartListener!=null )
            page.removePartListener(activePartListener);
View Full Code Here

Examples of org.locationtech.udig.bookmarks.IBookmarkService.removeListener()

    protected void listenService( boolean listen ){
        IBookmarkService bookmarkService = BookmarksPlugin.getBookmarkService();
        if (listen) {
            bookmarkService.addListener(serviceWatcher);
        } else {
            bookmarkService.removeListener(serviceWatcher);
        }
    }

    @Override
    public Composite getControl() {
View Full Code Here

Examples of org.locationtech.udig.internal.ui.UDIGDropHandler.removeListener()

                            return;
                        }
                    }
                }
            } finally {
                dropHandler.removeListener(listener);
            }
        }
    }

    private void closeIntro() {
View Full Code Here

Examples of org.locationtech.udig.project.IEditManager.removeListener()

        if (this.currentMap != null) {
       
            // Remove edit manager listener
            IEditManager editManager = this.currentMap.getEditManager();
            if (editManager.containsListener(editManagerListener)) {
                editManager.removeListener(editManagerListener);
                editManagerListener = null;
            }

            // Remove deep listener
            this.currentMap.removeDeepAdapter(mapDeepListener);
View Full Code Here

Examples of org.locationtech.udig.project.IStyleBlackboard.removeListener()

    private void removeRegionListener() {
        if (currentBlackboardListener != null) {
            ILayer processingRegionLayer = OmsBoxPlugin.getDefault().getProcessingRegionMapGraphic();
            IStyleBlackboard blackboard = processingRegionLayer.getStyleBlackboard();
            blackboard.removeListener(currentBlackboardListener);
        }
    }

    private void addRegionListener() {
        ILayer processingRegionLayer = OmsBoxPlugin.getDefault().getProcessingRegionMapGraphic();
View Full Code Here

Examples of org.mule.context.notification.ServerNotificationManager.removeListener()

    public void unregisterListener(ServerNotificationListener l)
    {
        ServerNotificationManager notificationManager = getNotificationManager();
        if (notificationManager != null)
        {
            notificationManager.removeListener(l);
        }
    }

    /**
     * Fires a server notification to all registered
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.style.ElementStyleSheet.removeListener()

    }

    final ElementStyleSheet data = dataModel.getData();
    if (data != null)
    {
      data.removeListener(changeHandler);
    }

    dataModel.setData(elements);
    if (elements != null)
    {
View Full Code Here

Examples of org.redisson.connection.PubSubConnectionEntry.removeListener()

        if (entry == null) {
            return;
        }
        synchronized (entry) {
            if (entry.isActive()) {
                entry.removeListener(getName(), listenerId);
                if (entry.getListeners(getName()).isEmpty()) {
                    connectionManager.unsubscribe(getName());
                }
                return;
            }
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.