This adds a wrapper OutputStream class for remote access to the AVM. It

also exports AVMSyncService remotely.  (For our friends at Eye Street).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-11-08 17:24:00 +00:00
parent a0a304d900
commit c6221ca8a5
4 changed files with 220 additions and 23 deletions

View File

@@ -185,6 +185,20 @@
</property>
</bean>
<bean id="avmRemoteSyncService" class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="service">
<ref bean="AVMSyncService"/>
</property>
<property name="serviceInterface">
<value>org.alfresco.service.cmr.avmsync.AVMSyncService</value>
</property>
<property name="serviceName">
<value>avmsync</value>
</property>
<property name="registryPort">
<value>${avm.remote.port}</value>
</property>
</bean>
</beans>

View File

@@ -4,7 +4,7 @@
<beans>
<!-- RMI Proxy bean. -->
<!-- RMI Proxy bean for avmRemote -->
<bean id="avmRemote" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
<property name="serviceUrl">
@@ -18,4 +18,18 @@
</property>
</bean>
<!-- RMI Proxy bean for avmSync -->
<bean id="avmSync" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
<property name="serviceUrl">
<value>rmi://localhost:1313/avmsync</value>
</property>
<property name="serviceInterface">
<value>org.alfresco.service.cmr.avmsync.AVMSyncService</value>
</property>
<property name="refreshStubOnConnectFailure">
<value>true</value>
</property>
</bean>
</beans>