Hi, On Thu, Jan 9, 2014 at 10:04 AM, Michael Dürig <[email protected]> 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
