-
Feb 6th, 2013, 12:44 PM
#1
How to use a ProxyFactoryBean as a proxy implementation for my service
I have a service say 'CustomerService' which i am exporting it through RmiServiceExporter. But, i do not have implementation of this service at the moment. I need to use a ProxyFactoryBean as the ServiceImpl and expose this service.
<bean id="rmiServiceExporter" class="org.springframework.remoting.rmi.RmiService Exporter">
<property name="serviceName" value="CustomerService"/>
<property name="serviceInterface" value="com.x.app.CustomerService"/> <!-- This is the interface.-->
<property name="service" ref="dsImpl" /><!-- this is the impl. i want to use proxy here -->
<!-- defaults to 1099 -->
<property name="registryPort" value="1099"/>
</bean>
Thank you.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules