Package org.apache.uima.fit.component
Interface ExternalResourceAware
- All Known Implementing Classes:
- ExternalResourceExample3.ChainableResource,- JndiResourceLocator,- Resource_ImplBase,- ResourceList
public interface ExternalResourceAware
Allows an external resource to use the 
ExternalResource annotation on member variables to
 gain access to other external resources.- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled after the external resources have been initialized.Get the name of the resource.
- 
Method Details- 
getResourceNameString getResourceName()Get the name of the resource. This is set by the different variations ofExternalResourceFactory.bindResourceOnce(org.apache.uima.resource.metadata.ResourceManagerConfiguration, java.lang.String, org.apache.uima.resource.ExternalResourceDescription)which internally callExternalResourceFactory.bindNestedResources(...)to set the parameterPARAM_RESOURCE_NAME.
 It is mandatory that any resource implementing this interface declares the configuration parameterPARAM_RESOURCE_NAME.- Returns:
- the resource name.
 
- 
afterResourcesInitializedCalled after the external resources have been initialized.- Throws:
- ResourceInitializationException- if an problem occurs in the late initialization.
 
 
-