On Tuesday 19 Aug 2008, denstar wrote:
> On Mon, Aug 18, 2008 at 4:35 AM, Doug Hughes wrote:
> > I just wanted to say I saw this chain and seeing as there's already an
> > easy solution to this when you're using CS (and you should be) that I'm
> > not going to make changes to add a public getConfig to the reactor
> > factory.
>
> That's cool Doug.
>
> I do some configuration on the fly, and crazy introspection-type
> stuff, so I added it to my copy, which made things easier.
I changed our Reactor core files to make the _getConfig() available, and it's
more trouble than it's worth, so went back and did it 'the right way':
<bean id="reactorConfiguration" class="reactor.config.Config">
<constructor-arg name="pathToConfigXml">
<value>/reactor.xml</value>
</constructor-arg>
</bean>
<bean id="reactor" class="reactor.reactorFactory">
<constructor-arg name="configuration">
<ref bean="reactorConfiguration" />
</constructor-arg>
</bean>
The reactorConfiguration bean is then available for your application to use.
--
Tom Chiverton
****************************************************
This email is sent for and on behalf of Halliwells LLP.
Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
of members is available for inspection at the registered office. Any reference
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by The Solicitors Regulation Authority.
CONFIDENTIALITY
This email is intended only for the use of the addressee named above and may be
confidential or legally privileged. If you are not the addressee you must not
read it and must not use any information contained in nor copy it nor inform
any person other than Halliwells LLP or the addressee of its existence or
contents. If you have received this email in error please delete it and notify
Halliwells LLP IT Department on 0870 365 2500.
For more information about Halliwells LLP visit www.halliwells.com.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --