AVM remote interface wiring. Also missed file from last checkin.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3498 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-08-14 16:26:34 +00:00
parent c8ddf97f62
commit 1df576890c
3 changed files with 896 additions and 0 deletions

View File

@@ -203,6 +203,36 @@
</property>
</bean>
<!-- The remote interface implementation. -->
<bean id="avmRemote" class="org.alfresco.repo.avm.AVMRemoteImpl"
init-method="init" destroy-method="shutDown">
<property name="idleTimeout">
<value>${avm.remote.idlestream.timeout}</value>
</property>
<property name="avmService">
<ref bean="AVMService"/>
</property>
</bean>
<!-- The RMI wrapper around the AVM remote interface. -->
<bean id="avmRemoteService" class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="service">
<ref bean="avmRemote"/>
</property>
<property name="serviceInterface">
<value>org.alfresco.repo.avm.AVMRemote</value>
</property>
<property name="serviceName">
<value>avm</value>
</property>
<property name="registryPort">
<value>${avm.remote.port}</value>
</property>
</bean>
</beans>

View File

@@ -111,4 +111,6 @@ user.name.caseSensitive=false
# AVM Specific properties.
avm.storage=build/test-results/storage
avm.initialize=true
avm.remote.idlestream.timeout=30000
avm.remote.port=1313