Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-6368

Extended uimaFIT support for binding resources

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • uimaFIT
    • None

    Description

      Some mroe utils methods for managing and binding resources would be nice. Something like:

      public static void bindExistingWithApiOrDefault(ResourceCreationSpecifier spec,
      			ResourceManager resMgr, String bindToKey, Class<?> api,
      			ExternalResourceDescription defaultResourceDesciption)
      			throws ResourceInitializationException
      
      public static void bindInjectedResourceOrDefault(ResourceCreationSpecifier spec,
      			ResourceManager resMgr, String bindToKey, Object resourceObject,
      			ExternalResourceDescription defaultResourceDesciption)
      			throws ResourceInitializationException
      
      public static Optional<String> findKeyForInterface(ResourceManager resMgr, Class<?> api)
      			throws IllegalAccessException
      
      public static Optional<String> findKeyForResource(ResourceManager resMgr, Object resourceObject)
      			throws IllegalAccessException
      

      Attachments

        Activity

          People

            rec Richard Eckart de Castilho
            pkluegl Peter Klügl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: