Class ExternalResourceInitializer

java.lang.Object
org.apache.uima.fit.component.initialize.ExternalResourceInitializer

public final class ExternalResourceInitializer extends Object
Configurator class for ExternalResource annotations.
  • Method Details

    • initialize

      public static <T> void initialize(T object, org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
      Configure a component from the given context.
      Type Parameters:
      T - the component type.
      Parameters:
      object - the component.
      context - the UIMA context.
      Throws:
      org.apache.uima.resource.ResourceInitializationException - if the external resource cannot be configured.