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

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

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

origin: org.geotools/gt-main

/**
 * Returns the service registry. The registry will be created the first
 * time this method is invoked.
 */
private static FactoryRegistry getServiceRegistry() {
  assert Thread.holdsLock(JTSFactoryFinder.class);
  if (registry == null) {
    registry = new FactoryCreator(Arrays.asList(new Class<?>[] { GeometryFactory.class } ));
    registry.registerServiceProvider( new GeometryFactory(), GeometryFactory.class );
  }
  return registry;
}
origin: org.geotools/gt-process

/**
 * Dynamically register a new process factory into SPI
 * @param factory
 */
public static void addProcessFactory(ProcessFactory factory) {
  getServiceRegistry().registerServiceProvider(factory);
}

origin: org.geotools/gt-metadata

if (factory == null) try {
  factory = factoryClass.newInstance();
  if (registerServiceProvider(factory, category)) {
    message.append(System.getProperty("line.separator", "\n"));
    message.append("  ");
origin: org.geotools/gt2-metadata

if (factory == null) try {
  factory = factoryClass.newInstance();
  if (registerServiceProvider(factory, category)) {
    message.append(System.getProperty("line.separator", "\n"));
    message.append("  ");
origin: org.geotools/gt-metadata

if (registerServiceProvider(factory, category)) {
origin: org.geotools/gt2-metadata

if (registerServiceProvider(factory, category)) {
org.geotools.factoryFactoryRegistryregisterServiceProvider

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
  • <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

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • JTextField (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
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