public interface ExternalResourceLocator extends Resource
Resource
interface and
can thus be used as an external resource. However, it serves only as a proxy to get the actual
shared resource. Parameters that help locating the shared resource can be passed using the
regular UIMA external resources mechanism.
A ExternalResourceLocator
can be bound to a component field of the type of resource it
produces.
ExternalResource.api()
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_EXTERNAL_OVERRIDE_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
Modifier and Type | Method and Description |
---|---|
Object |
getResource() |
destroy, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, initialize, setLogger
Object getResource()
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.