Looks the the static factory pattern makes this quite wide spread.
I will see if I can do something to get BeanConfig.newInstance
extendable.
Ian
On 5 Mar 2009, at 11:45, Jukka Zitting wrote:
Hi,
On Thu, Mar 5, 2009 at 12:41 PM, Ian Boston <[email protected]> wrote:
Is there a better way to make Jackrabbit IoC friendly than extending
RespositoryImpl and replacing class.newInstance() methods with
injector.getInstance() (Guice10) ?
Not really, but patches are of course welcome.
See also JCR-1438 [1] for an ongoing (though a bit slow) effort to
make Jackrabbit configuration a bit more IoC friendly.
[1] https://issues.apache.org/jira/browse/JCR-1438
BR,
Jukka Zitting