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.
|
org.apache.uima.fit.internal.ExtendedLogger |
getLogger() |
String |
getResourceName()
Get the name of the resource.
|
boolean |
initialize(org.apache.uima.resource.ResourceSpecifier aSpecifier,
Map<String,Object> aAdditionalParams) |
public org.apache.uima.fit.internal.ExtendedLogger getLogger()
getLogger
in interface org.apache.uima.resource.Resource
getLogger
in class org.apache.uima.resource.Resource_ImplBase
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
bindExternalResource()
as 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–2014 The Apache Software Foundation. All rights reserved.