Class 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
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • definingContext

        java.lang.String definingContext
    • Constructor Detail

      • ResourceRegistration

        public ResourceRegistration​(java.lang.Object resourceOrImplementation,
                                    ExternalResourceDescription description,
                                    java.lang.String definingContext)