public abstract class Resource_ImplBase extends Resource_ImplBase implements ExternalResourceAware
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| Constructor and Description |
|---|
Resource_ImplBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterResourcesInitialized()
Called after the external resources have been initialized.
|
String |
getResourceName()
Get the name of the resource.
|
boolean |
initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
destroy, getCasManager, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, loadUserClass, loadUserClassOrThrow, setContextHolder, setContextHolderX, setLogger, setMetaData, withContextHolderpublic boolean initialize(ResourceSpecifier aSpecifier, Map<String,Object> aAdditionalParams) throws ResourceInitializationException
initialize in interface Resourceinitialize in class Resource_ImplBaseResourceInitializationExceptionpublic String getResourceName()
ExternalResourceAwareExternalResourceFactory.bindResourceOnce(org.apache.uima.resource.metadata.ResourceManagerConfiguration, java.lang.String, org.apache.uima.resource.ExternalResourceDescription) which internally call ExternalResourceFactory.bindNestedResources(...)
to set the parameter PARAM_RESOURCE_NAME.PARAM_RESOURCE_NAME.getResourceName in interface ExternalResourceAwarepublic void afterResourcesInitialized()
throws ResourceInitializationException
ExternalResourceAwareafterResourcesInitialized in interface ExternalResourceAwareResourceInitializationException - if an problem occurs in the late initialization.Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.