Ah, I see - RepositoryImpl is already useful. I understand - sorry for the confusion.
On Tue, Mar 16, 2010 at 6:53 AM, Jukka Zitting <[email protected]>wrote: > Hi, > > On Tue, Mar 16, 2010 at 11:14 AM, Joseph Ottinger <[email protected]> > wrote: > > Jukka, it might be a good idea for JackRabbit to have this as part of the > > actual package - I was wondering the same thing myself. > > I'm not sure what you mean by "the actual package" here. Both > TransientRepository and RepositoryImpl are included in > jackrabbit-core, and the very purpose of TransientRepository is that > it automatically shuts down the repository when the last session is > closed. If you want more control over the repository lifecycle, you > can either use the empty session trick I mentioned or use > RepositoryImpl directly. > > BR, > > Jukka Zitting > -- Joseph B. Ottinger http://enigmastation.com
