jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: bug in javadoc
Date Wed, 05 May 2010 14:55:33 GMT

> I think this way is suitable for standalone instances, but for an embedded
> jackrabbit (jackrabbit inside a web app) perhaps this is a better method

There are two problem:

- Casting to an implementation class is bad for compatibility. You are
not using an interface, you are using concrete classes. This will
break in future versions of Jackrabbit.

- Security: (only admin sessions should be able to run data store
garbage collection). In future versions of Jackrabbit this feature may
be removed for this reason.


View raw message