BrucePercy wrote:
Hi,

Does anybody have any information or experience on writing your own SPI
implementation?

Yes.

I've looked at the sandbox examples, but it's not clear how to plug in your
own implementation.

Any information would be very welcome.

IMHO the starting point is to have an implementation of RepositoryConfig (with all its dependencies :-), and to use that to get JCR2SPI up and running. As in:

public static Repository newRepository(String p_name) throws RepositoryException { return org.apache.jackrabbit.jcr2spi.RepositoryImpl.create(RepositoryConfigImpl.getInstance(p_name));
}

If this doesn't help, please try to ask a more specific question :-)

BR, Julian

Reply via email to