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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to