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