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.