# Package org.apache.uima.resource

Interfaces for `Resources` and `ResourceSpecifiers`.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  CasManager | Manages creation and pooling of CAS instances within an AnalysisEngine.
  ConfigurableDataResourceSpecifier | A type of `ResourceSpecifier` that locates a resource file using its URL.
  ConfigurableResource | A `Resource` that has configuration parameters that can be changed after the Resource has been instantiated.
  ConfigurationManager | Manages the configuration parameters of all components within a possibly aggregate `Resource`.
  CustomResourceSpecifier | A type of `ResourceSpecifier` that specifically names the Java class that should be created.
  DataResource | `DataResource` is a simple resource that provides access to data.
  ExternalResourceDependency | An `ExternalResourceDependency` object describes an resources's requirements on an external resource.
  ExternalResourceDescription | An `ExternalResourceDescription` object describes a resource that is loaded in the `ResourceManager` and may be shared between components.
  FileLanguageResourceSpecifier | A type of `ResourceSpecifier` that locates a resource file using its URL, where the URL depends on an ISO language identifier.
  FileResourceSpecifier | A type of `ResourceSpecifier` that locates a resource file using its URL.
  JMSMessagingSpecifier |
  MailMessagingSpecifier |
  ManagementObject | Base interface for objects that expose a monitoring and management interface to a UIMA component or some part of the UIMA framework.
  MessagingSpecifier |
  MQMessagingSpecifier |
  Parameter | A general parameter having a name and a value, which are both strings.
  ParameterizedDataResource | A resource that provides access to data, where the data can vary based on parameters.
  PearSpecifier | A type of `ResourceSpecifier` that locate an installed pear `Resource`.
  RelativePathResolver | Used by the resource manager to resolve relative URLs to absolute URLs.
  Resource | `Resource` is the general term for all UIMA components that can be acquired and used by an application (or by other resources).
  ResourceCreationSpecifier | A `ResourceCreationSpecifier` is the supertype of `AnalysisEngineDescription`, `CasConsumerDescription`, `CollectionReaderDescription`, and `CasInitializerDescription`.
  ResourceManager | A `ResourceManager` holds a collection of `Resource` objects, each registered under a specified key.
  ResourceManagerPearWrapper | A `ResourceManagerPearWrapper` is a special Resource Manager, sharing all its fields with its parent, except for the class path and data path fields.
  ResourceServiceSpecifier | A `ResourceServiceSpecifier` is a type of `ResourceSpecifier` that contains information that can be used to locate an existing resource available as a service.
  ResourceServiceStub | A stub that calls a remote AnalysisEngine service.
  ResourceSpecifier | A `ResourceSpecifier` contains information that can be used acquire a reference to a `Resource`, whether that is done by instantiating the resource locally or locating an existing resource available as a service.
  ResourceSpecifierList | A type of `ResourceSpecifier` that is an aggregate of other `ResourceSpecifier`s.
  Session | An object that encapsulates all conversational state between a UIMA `Resource` and a particular client.
  SharedResourceObject | The `SharedResourceObject` interface must be implemented by all classes that provide access to resource data.
  URISpecifier | A type of `ResourceSpecifier` that locates an existing `Resource` service by its URI.

- Class Summary
  Class | Description
  --- | ---
  CasDefinition | Encapsulates information that defines how to create a CAS.
  ConfigurableResource_ImplBase | Implementation base class for `ConfigurableResource`s.
  Resource_ImplBase | Implementation base class for `Resource`s.

- Exception Summary
  Exception | Description
  --- | ---
  ResourceAccessException | Thrown to indicate a failure has occurred in attempting to access an external resource.
  ResourceConfigurationException | Thrown to indicate that a `Resource`'s configuration parameters could not be set.
  ResourceInitializationException | Thrown by `Resource.initialize(ResourceSpecifier,Map)` to indicate that a failure has occurred during initialization.
  ResourceProcessException | Thrown to indicate that a `Resource` has encountered a problem during its processing.
  ResourceServiceException | Thrown to indicate that an error has occurred during communication with a remote resource service.

## Package org.apache.uima.resource Description

Interfaces for `Resources` and `ResourceSpecifiers`.

`Resource` is the general term for all UIMA components that can be acquired and used by an application (or by other resources).

`Resource`s may be co-located with their client or distributed as services. This is made transparent to the client.

A `ResourceSpecifier` contains information that can be used to acquire a reference to a `Resource`, whether that is done by instantiating the resource locally or locating an existing resource available as a service.

The `ResourceFactory` takes a `ResourceSpecifier` and returns an instance of the specified `Resource`. Again, this can be done by creating the instance or by locating an existing instance.

Most applications will not need to deal with this abstract `Resource` interface. UIMA Developers who need to introduce new types of Resources, however, will need to implement the interfaces in this package.

Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.