[ 
https://issues.apache.org/jira/browse/UIMA-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645554#comment-13645554
 ] 

Richard Eckart de Castilho commented on UIMA-2102:
--------------------------------------------------

The ResourceManager_impl isn't really the problem here - it's the 
ResourceRegistration.

Due to this bug, the ResourceRegistration class has already changed from 
package private to protected. But it's still not possible to create instances 
of the class in subclasses of the ResourceManager_impl. The uimaFIT 
SimpleNamedResourceManager would require the constructor of 
ResourceRegistration to be public (currently package private in trunk). Note 
that a public constructor of ResourceRegistration can still only be used by 
subclasses of ResourceManager_impl, because the ResourceRegistration class 
itself is protected.
                
> Make ResourceManager_impl.ResourceRegistration protected
> --------------------------------------------------------
>
>                 Key: UIMA-2102
>                 URL: https://issues.apache.org/jira/browse/UIMA-2102
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.3.1
>            Reporter: Richard Eckart de Castilho
>            Priority: Minor
>
> I wanted to extend the ResourceManager_impl in an effort to explore the 
> injection of POJOs into UIMA components. This effort was complicated a bit 
> because the class ResourceManager_impl.ResourceRegistration is package 
> private. For people who want to implement their own version of a 
> ResourceManager, I suppose it would be helpful if that class was protected 
> instead, so subclasses can properly work with the 
> mInternalResourceRegistrationMap field, which is also protected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to