cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@vern.chem.tu-berlin.de>
Subject Re: Using own Store implementation
Date Mon, 20 May 2002 18:36:47 GMT


On Mon, 20 May 2002, Miller, Grant wrote:

> Hi,
> I am looking at writing my own implementation of the Store interface but
> can't quite get my head round how I would then use that class. I don't want
> to replace the normal store mechanism, just to add a new one for some custom
> info I cache.
> Do I have to make entries in xconf? Anything else?
>

1. Implement the interface org.apache.excalibur.store.Store
2. Override the ROLE field.
3. Make an entry in your xconf like
<component role="<your role>" class="<your class"/>

But you should use the default stores, and when you have implementation,
which is better, then replace the stores.

Stephan Michels.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message