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

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

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

origin: org.geotools/gt-metadata

register(newProviders[i], category);
origin: org.geotools/gt2-metadata

newServices |= register(lookupProviders(category, loader), category, message);
newServices |= registerFromSystemProperty(loader, category, message);
final Iterator it = fip[i].iterator(category);
if (it != null) {
  newServices |= register(it, category, message);
origin: org.geotools/gt-metadata

newServices |= register(lookupProviders(category, loader), category, message);
newServices |= registerFromSystemProperty(loader, category, message);
final Iterator<T> it = fip[i].iterator(category);
if (it != null) {
  newServices |= register(it, category, message);
origin: org.geotools/gt-metadata

/**
 * Registers every factories from the specified provider for the given category.
 */
private <T> void register(final FactoryIteratorProvider provider, final Class<T> category) {
  final Iterator<T> it = provider.iterator(category);
  if (it != null) {
    final StringBuilder message = getLogHeader(category);
    if (register(it, category, message)) {
      log("synchronizeIteratorProviders", message);
    }
  }
}
origin: org.geotools/gt2-metadata

if (it != null) {
  final StringBuffer message = getLogHeader(category);
  if (register(it, category, message)) {
    log("synchronizeIteratorProviders", message);
org.geotools.factoryFactoryRegistryregister

Javadoc

#registerServiceProvider all factories given by the supplied iterator.

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
  • getFactories
  • getLogHeader
    Prepares a message to be logged if any provider has been registered.
  • getFactories,
  • getLogHeader,
  • getServiceImplementation,
  • getServiceProviderByClass,
  • getUnfilteredProviders,
  • isAcceptable,
  • isAvailable,
  • loadingFailure,
  • log

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • startActivity (Activity)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • JFileChooser (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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