Tabnine Logo
FactoryRegistry.scanForPlugins
Code IndexAdd Tabnine to your IDE (free)

How to use
scanForPlugins
method
in
org.geotools.factory.FactoryRegistry

Best Java code snippets using org.geotools.factory.FactoryRegistry.scanForPlugins (Showing top 20 results out of 315)

origin: org.geotools/gt2-main

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this
 * method to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins
 * available at runtime.
 */
public static void scanForPlugins() {
  if (registry != null) {
    registry.scanForPlugins();
  }
}
origin: org.geotools/gt-coverage

  /**
   * Scans for factory plug-ins on the application class path. This method is
   * needed because the application class path can theoretically change, or
   * additional plug-ins may become available. Rather than re-scanning the
   * classpath on every invocation of the API, the class path is scanned
   * automatically only on the first invocation. Clients can call this
   * method to prompt a re-scan. Thus this method need only be invoked by
   * sophisticated applications which dynamically make new plug-ins
   * available at runtime.
   */
  public static synchronized void scanForPlugins() {
    if (registry != null) {
      registry.scanForPlugins();
    }
  }
}
origin: org.geotools/gt2-main

  /**
   * Scans for factory plug-ins on the application class path. This method is
   * needed because the application class path can theoretically change, or
   * additional plug-ins may become available. Rather than re-scanning the
   * classpath on every invocation of the API, the class path is scanned
   * automatically only on the first invocation. Clients can call this
   * method to prompt a re-scan. Thus this method need only be invoked by
   * sophisticated applications which dynamically make new plug-ins
   * available at runtime.
   */
  public static synchronized void scanForPlugins() {
    if (registry != null) {
      registry.scanForPlugins();
    }
  }
}
origin: org.geotools/gt-main

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this
 * method to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins
 * available at runtime.
 */
public static void scanForPlugins() {
  if (registry != null) {
    registry.scanForPlugins();
  }
}
origin: org.geotools/gt2-coverage

  /**
   * Scans for factory plug-ins on the application class path. This method is
   * needed because the application class path can theoretically change, or
   * additional plug-ins may become available. Rather than re-scanning the
   * classpath on every invocation of the API, the class path is scanned
   * automatically only on the first invocation. Clients can call this
   * method to prompt a re-scan. Thus this method need only be invoked by
   * sophisticated applications which dynamically make new plug-ins
   * available at runtime.
   */
  public static synchronized void scanForPlugins() {
    if (registry != null) {
      registry.scanForPlugins();
    }
  }
}
origin: org.geotools/gt-main

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this method
 * to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins available
 * at runtime.
 */
public static synchronized void scanForPlugins() {
  getServiceRegistry().scanForPlugins();
}

origin: org.geotools/gt-coverage-api

/**
 * Scans for factory plug-ins on the application class path. This method is needed because the
 * application class path can theoretically change, or additional plug-ins may become available.
 * Rather than re-scanning the class-path on every invocation of the API, the class path is
 * scanned automatically only on the first invocation. Clients can call this method to prompt a
 * re-scan. Thus this method need only be invoked by sophisticated applications which
 * dynamically make new plug-ins available at runtime.
 */
public static synchronized void scanForPlugins() {
  getServiceRegistry().scanForPlugins();
}
origin: org.geotools/gt-metadata

/**
 * Scans the given category for plugins only if needed. After this method has been
 * invoked once for a given category, it will no longer scan for that category.
 */
private <T> void scanForPluginsIfNeeded(final Class<?> category) {
  if (needScanForPlugins != null && needScanForPlugins.remove(category)) {
    if (needScanForPlugins.isEmpty()) {
      needScanForPlugins = null;
    }
    scanForPlugins(getClassLoaders(), category);
  }
}
origin: org.geotools/gt-netcdf

/**
 * Scans for factory plug-ins on the application class path. This method is needed because the
 * application class path can theoretically change, or additional plug-ins may become available.
 * Rather than re-scanning the classpath on every invocation of the API, the class path is
 * scanned automatically only on the first invocation. Clients can call this method to prompt a
 * re-scan. Thus this method need only be invoked by sophisticated applications which
 * dynamically make new plug-ins available at runtime.
 */
public static synchronized void scanForPlugins() {
  getServiceRegistry().scanForPlugins();
}
origin: org.geotools/gt-coverage

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this method
 * to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins available
 * at runtime.
 */
public static synchronized void scanForPlugins() {
  getServiceRegistry().scanForPlugins();
}
origin: org.geotools/gt2-coverage

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this method
 * to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins available
 * at runtime.
 */
public static synchronized void scanForPlugins() {
  
  getServiceRegistry().scanForPlugins();
  
}
origin: org.geotools/gt2-coverage

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this method
 * to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins available
 * at runtime.
 */
public static synchronized void scanForPlugins() {
  
  getServiceRegistry().scanForPlugins();
  
}
origin: org.geotools/gt-jdbc

  /**
   * Scans for factory plug-ins on the application class path. This method is needed because the
   * application class path can theoretically change, or additional plug-ins may become available.
   * Rather than re-scanning the classpath on every invocation of the API, the class path is
   * scanned automatically only on the first invocation. Clients can call this method to prompt a
   * re-scan. Thus this method need only be invoked by sophisticated applications which
   * dynamically make new plug-ins available at runtime.
   */
  public static synchronized void scanForPlugins() {

    getServiceRegistry().scanForPlugins();

  }
}
origin: org.geotools/gt2-jdbc

  /**
   * Scans for factory plug-ins on the application class path. This method is needed because the
   * application class path can theoretically change, or additional plug-ins may become available.
   * Rather than re-scanning the classpath on every invocation of the API, the class path is
   * scanned automatically only on the first invocation. Clients can call this method to prompt a
   * re-scan. Thus this method need only be invoked by sophisticated applications which
   * dynamically make new plug-ins available at runtime.
   */
  public static synchronized void scanForPlugins() {

    getServiceRegistry().scanForPlugins();

  }
}
origin: org.geotools/gt-render

  /**
   * Scans for factory plug-ins on the application class path. This method is
   * needed because the application class path can theoretically change, or
   * additional plug-ins may become available. Rather than re-scanning the
   * classpath on every invocation of the API, the class path is scanned
   * automatically only on the first invocation. Clients can call this method
   * to prompt a re-scan. Thus this method need only be invoked by
   * sophisticated applications which dynamically make new plug-ins available
   * at runtime.
   */
  public static synchronized void scanForPlugins() {
    getServiceRegistry().scanForPlugins();
  }
}
origin: org.geotools/gt2-main

  /**
   * Scans for factory plug-ins on the application class path. This method is
   * needed because the application class path can theoretically change, or
   * additional plug-ins may become available. Rather than re-scanning the
   * classpath on every invocation of the API, the class path is scanned
   * automatically only on the first invocation. Clients can call this method
   * to prompt a re-scan. Thus this method need only be invoked by
   * sophisticated applications which dynamically make new plug-ins available
   * at runtime.
   */
  public static synchronized void scanForPlugins() {
    
    getServiceRegistry().scanForPlugins();
    
  }
}
origin: org.geotools/gt-imagemosaic

  /**
   * Scans for factory plug-ins on the application class path. This method is
   * needed because the application class path can theoretically change, or
   * additional plug-ins may become available. Rather than re-scanning the
   * classpath on every invocation of the API, the class path is scanned
   * automatically only on the first invocation. Clients can call this method
   * to prompt a re-scan. Thus this method need only be invoked by
   * sophisticated applications which dynamically make new plug-ins available
   * at runtime.
   */
  public static synchronized void scanForPlugins() {
    getServiceRegistry().scanForPlugins();

  }
}
origin: org.geotools/gt-metadata

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this
 * method to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins
 * available at runtime.
 */
public void scanForPlugins() {
  final Set<ClassLoader> loaders = getClassLoaders();
  for (final Iterator<Class<?>> categories=getCategories(); categories.hasNext();) {
    final Class<?> category = categories.next();
    scanForPlugins(loaders, category);
  }
}
origin: org.geotools/gt2-metadata

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this
 * method to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins
 * available at runtime.
 */
public void scanForPlugins() {
  final Set loaders = getClassLoaders();
  for (final Iterator categories=getCategories(); categories.hasNext();) {
    final Class category = (Class) categories.next();
    scanForPlugins(loaders, category);
  }
}
origin: org.geotools/gt-main

/**
 * Scans for factory plug-ins on the application class path. This method is
 * needed because the application class path can theoretically change, or
 * additional plug-ins may become available. Rather than re-scanning the
 * classpath on every invocation of the API, the class path is scanned
 * automatically only on the first invocation. Clients can call this method
 * to prompt a re-scan. Thus this method need only be invoked by
 * sophisticated applications which dynamically make new plug-ins available
 * at runtime.
 */
public static synchronized void scanForPlugins() {
  DataStoreFinder.scanForPlugins();
  getServiceRegistry().scanForPlugins();
}

org.geotools.factoryFactoryRegistryscanForPlugins

Javadoc

Scans for factory plug-ins on the application class path. This method is needed because the application class path can theoretically change, or additional plug-ins may become available. Rather than re-scanning the classpath on every invocation of the API, the class path is scanned automatically only on the first invocation. Clients can call this method to prompt a re-scan. Thus this method need only be invoked by sophisticated applications which dynamically make new plug-ins available at runtime.

Popular methods of FactoryRegistry

  • getServiceProviders
  • getServiceProvider
    Returns the first provider in the registry for the specified category, using the specified map of hi
  • lookupProviders
  • registerServiceProvider
  • <init>
    Constructs a new registry for the specified categories.
  • debug
    Log a debug message for #getServiceProvider method. Note: we are not required to insert the method n
  • getCachedProviders
    Returns the providers available in the cache, or null if none. To be overridden by FactoryCreator on
  • getCategories
  • getClassLoaders
    Returns all class loaders to be used for scanning plugins. Current implementation returns the follow
  • getFactories
  • getLogHeader
    Prepares a message to be logged if any provider has been registered.
  • getServiceImplementation
    Search the first implementation in the registery matching the specified conditions. This method is i
  • getLogHeader,
  • getServiceImplementation,
  • getServiceProviderByClass,
  • getUnfilteredProviders,
  • isAcceptable,
  • isAvailable,
  • loadingFailure,
  • log,
  • register

Popular in Java

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now