On Wed, Jul 23, 2008 at 11:21 PM, Thomas Müller <thomas.mueller@day.com> wrote:
> Hi,
>
>>> So the intention is that once the session is no longer used then the
>>> ItemImpl instances are cleared up?
>
> Unfortunately sessions are kept in a list currently, so you need to
> close them manually. See also
what list are you refering to?
the only place i know where active sessions are kept is in
RepositoryImpl:
/**
* active sessions (weak references)
*/
private final ReferenceMap activeSessions =
new ReferenceMap(ReferenceMap.WEAK, ReferenceMap.WEAK);
cheers
stefan
> https://issues.apache.org/jira/browse/JCR-1216 "Unreferenced sessions
> should get garbage collected".
>
> Regards,
> Thomas
>