using Velocity to externalize configuration properties ?

Cantor, Scott cantor.2 at osu.edu
Mon Aug 5 10:07:44 EDT 2013


On 8/5/13 8:58 AM, "Rod Widdowson" <rdw at steadingsoftware.com> wrote:

>I just happened upon XMLBeanDefinitionReader#setDocumentLoader()
>
>Which takes one parameter of type
>org.springframework.beans.factory.xml.DocumentLoader.  This is an
>interface
>with but one method which effectively takes an org.xml.sax.InputSource, a
>org.xml.sax.EntityResolver and a few other things and produces a
>org.w3c.dom.Document from them.

There's also the EntityResolver itself, which is the code that's actually
doing what I want to change. The code Chad wrote that manually creates a
GenericApplicationContext could be modified to install a loader or entity
resolver of choice on the XmlBeanDefinitionReader it's creating.

-- Scott




More information about the dev mailing list