public abstract class Resource_ImplBase extends org.apache.uima.resource.Resource_ImplBase implements ExternalResourceAware
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(org.apache.uima.resource.ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
destroy, getCasManager, getLogger, getMetaData, getRelativePathResolver, getResourceManager, getUimaContext, getUimaContextAdmin, loadUserClass, loadUserClassOrThrow, setContextHolder, setContextHolderX, setLogger, setMetaData, withContextHolder
public boolean initialize(org.apache.uima.resource.ResourceSpecifier aSpecifier, Map<String,Object> aAdditionalParams) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.resource.Resource
initialize
in class org.apache.uima.resource.Resource_ImplBase
org.apache.uima.resource.ResourceInitializationException
public String getResourceName()
ExternalResourceAware
ExternalResourceFactory.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 ExternalResourceAware
public void afterResourcesInitialized() throws org.apache.uima.resource.ResourceInitializationException
ExternalResourceAware
afterResourcesInitialized
in interface ExternalResourceAware
org.apache.uima.resource.ResourceInitializationException
- if an problem occurs in the late initialization.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.