Hi,

On Tue, Sep 8, 2009 at 2:06 PM, Thomas Müller<[email protected]> wrote:
> How would you instantiate the RepositoryManager object on the server side?

Simply by instantiating the appropriate implementation class, for
example like this:

    RepositoryManager manager = new RepositoryManagerImpl(config);

The server is in any case implementation-specific, so using a concrete
class is no problem.

Using a decorator like a logging wrapper is trivial:

    RepositoryManager manager =
        new LoggingRepositoryManager(new RepositoryManagerImpl(config));

On Tue, Sep 8, 2009 at 3:09 PM, Alexander Klimetschek<[email protected]> wrote:
> But the log wrapper would be Jackrabbit-specific then.

It obviously depends on jackrabbit-api, but so would a logging wrapper
for any of the other proposed approaches.

BR,

Jukka Zitting

Reply via email to