Hey Joe,

But if I have the following within modelglue/unity/config

<bean id="ormAdapter" class="ModelGlue.unity.orm.ReactorAdapter">
                <constructor-arg name="framework"><ref bean="ModelGlue"
/></constructor-arg>
        </bean>
                
        <bean id="ormService" class="reactor.reactorFactory">
                <constructor-arg name="configuration"><ref
bean="reactorConfiguration" /></constructor-arg>
        </bean>

Is this not explicitly telling it to always and only use Reactor?  Would I
not need to comment about the above and add a transfer equivalent?

I have setup the following within my ColdSpring.xml of my individual apps
but would obviously want to choose one or other..

        <bean id="ormAdapter.Reactor"
class="ModelGlue.unity.orm.ReactorAdapter">
                <constructor-arg name="framework"><ref bean="ModelGlue"
/></constructor-arg>
        </bean>
        
        <bean id="ormService.Reactor" class="reactor.reactorFactory">
                <constructor-arg name="configuration"><ref
bean="reactorConfiguration" /></constructor-arg>
        </bean>

        <!-- Transfer adapter/service -->
        <bean id="ormAdapter.Transfer"
class="ModelGlue.unity.orm.transfer.TransferAdapter">
                <constructor-arg name="framework"><ref bean="ModelGlue"
/></constructor-arg>
        </bean>
        
        <bean id="ormService.Transfer" class="transfer.TransferFactory">
                 <constructor-arg name="configuration"><ref
bean="transferConfiguration" /></constructor-arg>
        </bean>
But I cannot actually get my individual applications to use one or the
other.

Go easy btw...these are my first steps back into MG:U for a long time!


:-)




-----Original Message-----
From: Joe Rinehart [mailto:[EMAIL PROTECTED] 
Sent: 10 May 2007 13:03
To: CF-Talk
Subject: Re: ormAdapter / ormService in MG:U

Yes - each app's ColdSpring.xml file chooses which one to use.

-Joe

On May 10, 2007, at 7:13 AM, Robertson-Ravo, Neil (RX) wrote:

> Hi,
>
> With regards the new ormAdapter/ormService beans, I gather I can  
> only every
> have these pointing to either Transfer/Reactor at any one point in  
> time?
> i.e. my model-glue framework is only every using one of them.  Is  
> there a
> away where if I have 3 [EMAIL PROTECTED] apps that I can have 1 of the apps 
> using
> Transfer and the other 2 using Reactor?
>
> Just a thought....
>
> N
>
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277599
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to