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.
|
org.apache.uima.fit.internal.ExtendedLogger |
getLogger() |
String |
getResourceName()
Get the name of the resource.
|
boolean |
initialize(ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
destroy, getCasManager, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
public org.apache.uima.fit.internal.ExtendedLogger getLogger()
getLogger
in interface Resource
getLogger
in class Resource_ImplBase
public boolean initialize(ResourceSpecifier aSpecifier, Map<String,Object> aAdditionalParams) throws ResourceInitializationException
initialize
in interface Resource
initialize
in class Resource_ImplBase
ResourceInitializationException
public String getResourceName()
ExternalResourceAware
bindExternalResource()
as the parameter PARAM_RESOURCE_NAME
. PARAM_RESOURCE_NAME
.getResourceName
in interface ExternalResourceAware
public void afterResourcesInitialized() throws ResourceInitializationException
ExternalResourceAware
afterResourcesInitialized
in interface ExternalResourceAware
ResourceInitializationException
Copyright © 2012–2013 The Apache Software Foundation. All rights reserved.