jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jukka Zitting <jukka.zitt...@gmail.com>
Subject Re: FYI: Moving session-related classes to o.a.j.core.session
Date Mon, 17 May 2010 09:16:29 GMT
Hi,

On Mon, May 17, 2010 at 11:00 AM, Thomas Müller <thomas.mueller@day.com> wrote:
> - If you move classes to other packages, you will have to make many
> method public.

My ultimate goal is to track down all these cases and refactor them
away so we can better control all the code paths to and from a single
session. By moving the session-related classes to their own package
I'm able to use tools like jdepend to enforce strict access patterns.

This is by no means a trivial refactoring, but I believe it's
necessary since the complexity of the current o.a.j.core package makes
implementing JCR-890 close to impossible.

> Instead of moving session related classes to a separate package, what
> about moving unrelated classes to different packages?

These unrelated classes are mostly things like RepositoryImpl,
TransientRepository, RepositoryCopier, etc. to which many external
codebases are linking, so we can't move them.

BR,

Jukka Zitting

Mime
View raw message