jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: svn commit: r1556779 - /jackrabbit/oak/trunk/oak-run/src/main/java/org/apache/jackrabbit/oak/fixture/OakRepositoryFixture.java
Date Thu, 09 Jan 2014 15:14:35 GMT
Hi,

On Thu, Jan 9, 2014 at 10:04 AM, Michael Dürig <mduerig@apache.org> wrote:
> What's the purpose of having a shutdown method then?
>
> JackrabbitRepository.shutdown() clearly states: "This method [...]
> <em>must</em> therefore be called by the client application once the
> repository instance is no longer used."

The shutdown() method is troublesome for various reasons [1,2,3]. As
suggested in JCR-2958, I'd opt to deprecate it in the API and have Oak
implement it as a no-op.

[1] https://issues.apache.org/jira/browse/JCR-2958
[2] http://markmail.org/message/dsqyv3rafo4j5xea
[3] http://markmail.org/message/ghfqwhivipkxakwh

BR,

Jukka Zitting

Mime
View raw message