Class ExternalResourceInitializer
java.lang.Object
org.apache.uima.fit.component.initialize.ExternalResourceInitializer
Configurator class for
ExternalResource annotations.-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voidinitialize(T object, UimaContext context) Configure a component from the given context.
-
Method Details
-
initialize
public static <T> void initialize(T object, UimaContext context) throws ResourceInitializationException Configure a component from the given context.- Type Parameters:
T- the component type.- Parameters:
object- the component.context- the UIMA context.- Throws:
ResourceInitializationException- if the external resource cannot be configured.
-