[
https://issues.apache.org/jira/browse/UIMA-6368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on UIMA-6368 stopped by Richard Eckart de Castilho.
--------------------------------------------------------
> Extended uimaFIT support for binding resources
> ----------------------------------------------
>
> Key: UIMA-6368
> URL: https://issues.apache.org/jira/browse/UIMA-6368
> Project: UIMA
> Issue Type: New Feature
> Components: uimaFIT
> Reporter: Peter Klügl
> Assignee: Richard Eckart de Castilho
> Priority: Major
>
> Some mroe utils methods for managing and binding resources would be nice.
> Something like:
> {code}
> 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
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)