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
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
FieldsModifier and TypeFieldDescription(package private) String
(package private) ExternalResourceDescription
(package private) Object
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
ConstructorsConstructorDescriptionResourceRegistration
(Object resourceOrImplementation, ExternalResourceDescription description, String definingContext) -
Method Summary
-
Field Details
-
resource
Object resourceFor 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
String definingContext
-
-
Constructor Details
-
ResourceRegistration
public ResourceRegistration(Object resourceOrImplementation, ExternalResourceDescription description, String definingContext)
-