ResourceFactory
is used to acquire instances of {@link Resource}s. The method {@link #produceResource(Class,ResourceSpecifier,Map)} is used to produce an instanceof a Most applications will not need to interact with this interface. Applications will generally create resources using the static methods on the {@link org.apache.uima.UIMAFramework} class. Note that multiple threads may attempt to manufacture resources simultaneously, so implementations of this interface MUST be threadsafe. Developers needing to provide their own Resource
. The input to this method is a {@link ResourceSpecifier}, which contains all of the information that this factory can use to acquire a reference to the resource.
ResourceFactory
may wish to consider using the provided {@link org.apache.uima.util.SimpleResourceFactory} implementation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|