Hello Guys,
I'm trying to configure a remote proxy in ColdSpring within an MG
application. The bean definition looks like so:
<bean id="remoteOrderService"
class="coldspring.aop.framework.RemoteFactoryBean" lazy-
init="false">
<property name="target">
<ref bean="orderService" />
</property>
<property name="serviceName">
<value>OrderService</value>
</property>
<property name="relativePath">
<value>/api</value>
</property>
<property name="remoteMethodNames">
<value>createOrder</value>
</property>
<property name="beanFactoryName">
<value>beanFactory</value>
</property>
</bean>
Now, it appears that the issue with this is that the target service
object is cached in the application scope outside of the model glue
bean factory, so when I make a change to the code on the CFC and
reinit the MG application the changes are not propagated to my remote
proxies and I have to restart the server every time *rolls eyes*
Can anyone explain how I can configure this remote proxy to work with
the same bean factory as model glue?
Thanks,
Rob
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
To unsubscribe from this group, send email to
model-glue+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.