Aha!
So I extend ContextPartition and implement 'getSuffix()' to return,
say, 'chris', and then set 'server.db.partitions=chris' and
'server.db.partitions.suffix.chris=o=chris', and I'm away?
Cool - I hadn't twigged how the Nexus knew about my code; I'd been
expecting to hand it a java class name and a partition name, but this
is even easier.
thank you!
Chris
On 27/04/2005, at 11:07 AM, David Boreham wrote:
> Chris Betts wrote:
>
>> it looks like I've made a blunder; I had thought partitions were
>> 'pluggable' back end data stores. However it seems that in fact
>> they're just named areas of the default database implementation.
>
> Actually you're on the right track. You need to implement a class
> derived from ContextPartition.
> Then add the appropriate properties to make the nexus map your suffix
> to your partition.
> This avoids any dependency on the regular database backend.
>
>
>
|