How do I get off this list (3rd attempt at getting off this list).

Gary 


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris Blackwell
Sent: Wednesday, April 30, 2008 2:36 AM
To: [email protected]
Subject: Re: [Reactor for CF] Reactor querying the DB schema for every query
(reposting in correct place this time, hopefully :-)

Hi Adam,

The 'fix' below shouldn't be necessary.


2008/4/30 Adam Cameron <[EMAIL PROTECTED]>:



        <bean id="ormService" class="reactor.reactorFactory">
               <constructor-arg name="configuration"><ref
bean="reactorConfiguration" /></constructor-arg>
               <constructor-arg
name="pathToConfigXml"><value>/config/reactor/Reactor.xml</value></construct
or-arg>
        </bean>
        
        


In case its of any help i'll tell you how i setup my apps

I have a parent coldspring factory created onApplicationStart called
application.cs, and in my modelglue index.cfm i do 
    <cfset ModelGlue_PARENT_BEAN_FACTORY = application.cs />

I move my reactorConfiguration bean out of MG's Coldspring.xml into a
seperate beans directory (/config/beans/reactor.xml), and every bean in this
directory is loaded by application.cs when its created.  This way all my
beans are available to any MG app that sets application.cs as the parent
bean factory, and they are available for use outside of MG, for remote
proxies etc..

Reactor.xml contains only objects, there is no <config> block as its not
necessary - could this be confusing reactor?

Chris

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- Reactor for ColdFusion Mailing List [EMAIL PROTECTED] Archives
at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --



-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to