Examples of removeListener()


Examples of org.geoserver.catalog.impl.CatalogImpl.removeListener()

        LegacyCatalogImporter importer = new LegacyCatalogImporter(catalog2);
        importer.setResourceLoader(resourceLoader);
        importer.imprt(resourceLoader.getBaseDirectory());
       
        if ( !legacy ) {
            catalog2.removeListener( p );
        }
       
        if ( !legacy ) {
            //copy files from old feature type directories to new
            File featureTypesDir = resourceLoader.find( "featureTypes" );
View Full Code Here

Examples of org.geoserver.platform.resource.Resource.removeListener()

                    final Resource styleResource = dataDir().style(info);
                    styleResource.addListener( new ResourceListener() {
                        @Override
                        public void changed(ResourceNotification notify) {
                            styleCache.remove(info);
                            styleResource.removeListener( this );
                        }
                    });
                   
                }
            }
View Full Code Here

Examples of org.geotools.swing.wizard.ParamField.removeListener()

            connectionParameters.put(param.key, value);
            //field.setValue(value);
        }
        for (Entry<Parameter<?>, ParamField> entry : fields.entrySet()) {
            ParamField field = entry.getValue();
            field.removeListener(getJWizard().getController());
        }
    }

    @Override
    public boolean isValid() {
View Full Code Here

Examples of org.globus.gram.GramJob.removeListener()

      log.info(buf.toString());
      // Send Audit Notifications
      notifier.appAudit(invocationContext.getServiceName(), new URI(job.getIDAsString()), contact, null, null, gssCred.getName().toString(), null, job.getRSL());

      listener.waitFor();
      job.removeListener(listener);

      int jobStatus = listener.getStatus();
      if (jobStatus == GramJob.STATUS_FAILED) {
        errCode = listener.getError();
        // Adding retry for error code to properties files as
View Full Code Here

Examples of org.gradle.listener.ListenerManager.removeListener()

                return actionExecutor.run(action);
            } finally {
                progressLogger.completed();
            }
        } finally {
            listenerManager.removeListener(listener);
        }
    }

    private static class ProgressListenerAdapter implements ProgressListener {
        private final ProgressListenerVersion1 progressListener;
View Full Code Here

Examples of org.gudy.azureus2.core3.download.DownloadManager.removeListener()

      }
    });
    Object[] dms = globalManager.getDownloadManagers().toArray();
    for (int i = 0; i < dms.length; i++) {
      DownloadManager dm = (DownloadManager) dms[i];
      dm.removeListener(this);
    }
    if (currentCategory != null) {
      currentCategory.removeCategoryListener(this);
    }
    CategoryManager.removeCategoryManagerListener(this);
View Full Code Here

Examples of org.gudy.azureus2.core3.global.GlobalManager.removeListener()

  }
 
  private void unregisterListeners() {
    try {
      GlobalManager gm = AzureusCoreFactory.getSingleton().getGlobalManager();
      gm.removeListener(this);
      Iterator itr = gm.getDownloadManagers().iterator();
      while(itr.hasNext()) {
        DownloadManager dm = (DownloadManager)itr.next();
        downloadManagerRemoved(dm);
      }
View Full Code Here

Examples of org.gudy.azureus2.core3.logging.impl.FileLogging.removeListener()

    Object[] listeners = fileLogging.getListeners().toArray();
    for (int i = 0; i < listeners.length; i++) {
      if (listeners[i] instanceof PluginFileLoggerAdapater) {
        PluginFileLoggerAdapater l = (PluginFileLoggerAdapater) listeners[i];
        if (l.listener == listener) {
          fileLogging.removeListener(l);
        }
      }
    }
  }
 
View Full Code Here

Examples of org.gudy.azureus2.core3.torrent.TOTorrent.removeListener()

           
               TOTorrent t = getTorrent();

               if ( t != null ){
                
                 t.removeListener( (TOTorrentListener)tps_data[1] );
               }
              
                setUserData( TPS_Key, null );
              }
          }
View Full Code Here

Examples of org.gudy.azureus2.plugins.download.DownloadManager.removeListener()

     
      dynamic_xcode_map = null;
    
      DownloadManager dm = PluginInitializer.getDefaultInterface().getDownloadManager();

      dm.removeListener( this );
     
      removeListener( this );
     
      TranscodeFileImpl[]  transcode_files = getFiles();
     
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.