public final class ExternalResourceInitializer extends Object
ExternalResource annotations.| Modifier and Type | Method and Description |
|---|---|
static <T> void |
initialize(T object,
org.apache.uima.UimaContext context)
Configure a component from the given context.
|
public static <T> void initialize(T object,
org.apache.uima.UimaContext context)
throws org.apache.uima.resource.ResourceInitializationException
T - the component type.object - the component.context - the UIMA context.org.apache.uima.resource.ResourceInitializationException - if the external resource cannot be configured.Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.