You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Richard Eckart de Castilho <ri...@gmail.com> on 2013/06/07 15:57:51 UTC
Destruction of resource objects
Hi,
apparently external resource objects which can be accessed via the ResourceManager, e.g. implementations of the Resource (like DataResource or ParameterizedDataResource) have a "destroy" method. Interestingly, the SharedResourceObject interface doesn't define such a method. Also, it seems that the "destroy" method is never really invoked for external resources. It appears to be reserved mainly for analysis engines, readers and consumers.
Am I overlooking something?
Cheers,
-- Richard
Re: Destruction of resource objects
Posted by Marshall Schor <ms...@schor.com>.
On 6/7/2013 9:57 AM, Richard Eckart de Castilho wrote:
> Hi,
>
> apparently external resource objects which can be accessed via the ResourceManager, e.g. implementations of the Resource (like DataResource or ParameterizedDataResource) have a "destroy" method. Interestingly, the SharedResourceObject interface doesn't define such a method. Also, it seems that the "destroy" method is never really invoked for external resources. It appears to be reserved mainly for analysis engines, readers and consumers.
>
> Am I overlooking something?
My guess is that you're not overlooking anything, and this is simply a bit of
unfinished implementation.
-Marshall
>
> Cheers,
>
> -- Richard