Properly wrapped AttributeService for remoting.

Wired remote AttributeService into virtualization server.
Added AVMLockingService to ServiceRegistry.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5570 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-04-27 15:36:13 +00:00
parent fc2ebe47d0
commit fe970f03fe
7 changed files with 620 additions and 20 deletions

View File

@@ -57,6 +57,31 @@
</property>
</bean>
<!-- Remote export of AttributeService -->
<bean id="attributeServiceTransport" class="org.alfresco.repo.attributes.AttributeServiceTransportService">
<property name="authenticationService">
<ref bean="AuthenticationService"/>
</property>
<property name="attributeService">
<ref bean="AttributeService"/>
</property>
</bean>
<bean id="attributeServiceTransportRMI" class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="service">
<ref bean="attributeServiceTransport"/>
</property>
<property name="serviceInterface">
<value>org.alfresco.service.cmr.remote.AttributeServiceTransport</value>
</property>
<property name="serviceName">
<value>attributes</value>
</property>
<property name="registryPort">
<value>${avm.remote.port}</value>
</property>
</bean>
<!-- The AuthenticationService exported as an RMI service. -->
<bean id="rmiAuthenticationService" class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="service">
@@ -139,17 +164,4 @@
<value>${avm.remote.port}</value>
</property>
</bean>
<!-- The RMI export of the AttributeService. -->
<bean id="attributeServiceRMI" class="org.springframework.remoting.rmi.RmiServiceExporter">
<property name="service">
<ref bean="AttributeService"/>
</property>
<property name="serviceInterface">
<value>org.alfresco.service.cmr.attributes.AttributeService</value>
</property>
<property name="serviceName">
<value>${avm.remote.port}</value>
</property>
</bean>
</beans>