Codota Logo
FactoryRegistry.getFactories
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: org.geotools/gt-netcdf

/**
 * Finds all available implementations of {@link CoordinateHandlerSpi} which have registered
 * using the services mechanism.
 *
 * @return An unmodifiable {@link Set} of all discovered modules which have registered factories
 */
public static synchronized Set<CoordinateHandlerSpi> getAvailableHandlers() {
  if (LOGGER.isLoggable(Level.FINE)) {
    LOGGER.fine("Coordinate Handlers scan");
  }
  // get all CoordinateHandlerSpi implementations
  scanForPlugins();
  return getServiceRegistry()
      .getFactories(CoordinateHandlerSpi.class, true)
      .collect(toUnmodifiableSet());
}
origin: org.geotools/gt-coverage-api

/**
 * Finds all available implementations of {@link Driver} which have registered using the
 * services mechanism, and that have the appropriate libraries on the class-path.
 *
 * @return An unmodifiable {@link Set} of all discovered drivers which have registered
 *     factories, and whose available method returns true.
 */
public static synchronized Set<Driver> getAvailableDrivers() {
  // get all Driver implementations
  scanForPlugins();
  return getServiceRegistry()
      .getFactories(Driver.class, false)
      .filter(Driver::isAvailable)
      .collect(toUnmodifiableSet());
}
org.geotools.factoryFactoryRegistrygetFactories

Popular methods of FactoryRegistry

  • getServiceProviders
  • scanForPlugins
    Scans for factory plug-ins of the given category, with guard against recursivities. The recursivity
  • 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
  • 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

  • Making http requests using okhttp
  • putExtra (Intent)
  • getSystemService (Context)
  • getContentResolver (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • JTextField (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now