commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig McClanahan <>
Subject Re: Configuring Catalogs via Spring
Date Tue, 05 Apr 2005 16:46:14 GMT
On Apr 5, 2005 1:03 AM, Marco Mistroni <> wrote:
> Hello all,
>         Does anybody know how to configure a commons chain catalog via
> Spring using XML file?
> I had a look at code, and the only component that configures catalog via
> XML is the ChainListener.
> And, if I use CatalogFactory, I have to add commands programmatically
> How can integrate then Spring and Chains, if I don't want to use
> Listener?

The code in ChainListener that actually does the XML configuration is
pretty straightforward, and can be used to configure the chains
however you'd like:

    ConfigParser parser = new ConfigParser();
    URL url = ... URL to your configuration document ...

> Thanx and regards
>         marco


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message