Package org.apache.uima.resource.impl
Class ResourceManager_impl.ResourceRegistration
- java.lang.Object
-
- org.apache.uima.resource.impl.ResourceManager_impl.ResourceRegistration
-
- Enclosing class:
- ResourceManager_impl
protected static class ResourceManager_impl.ResourceRegistration extends java.lang.Object
Ties an External Resource instance to - its description -- name -- textual description -- a ResourceSpecifier describing how to create it -- (optional) the String name of the Java class that implements the resource) - its defining UIMA Context These are used to validate multiple declarations, and to get a resource to tie it to a binding
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.lang.String
definingContext
(package private) ExternalResourceDescription
description
(package private) java.lang.Object
resource
For ParameterizedDataResources or DataResources, is the implementation object, which is an arbitrary Java class implementing SharedDataResource (which has the "load" method) If the external resource specification omitted the implementation class, a default FileResource
-
Constructor Summary
Constructors Constructor Description ResourceRegistration(java.lang.Object resourceOrImplementation, ExternalResourceDescription description, java.lang.String definingContext)
-
-
-
Field Detail
-
resource
java.lang.Object resource
For ParameterizedDataResources or DataResources, is the implementation object, which is an arbitrary Java class implementing SharedDataResource (which has the "load" method) If the external resource specification omitted the implementation class, a default FileResource
-
description
ExternalResourceDescription description
-
definingContext
java.lang.String definingContext
-
-
Constructor Detail
-
ResourceRegistration
public ResourceRegistration(java.lang.Object resourceOrImplementation, ExternalResourceDescription description, java.lang.String definingContext)
-
-