mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Exported some Repo functionality via RMI. First (still broken) Repo
based CLT. Some cleanup and modification to other CLTs. WIP. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
71
config/alfresco/clt-context.xml
Normal file
71
config/alfresco/clt-context.xml
Normal file
@@ -0,0 +1,71 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
||||
|
||||
<beans>
|
||||
<!-- Remote AVM interface -->
|
||||
<bean id="avmRemote" class="org.alfresco.repo.remote.AVMRemoteImpl">
|
||||
<property name="avmRemoteTransport">
|
||||
<ref bean="avmRemoteTransport"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="avmRemoteTransport" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
|
||||
<property name="serviceUrl">
|
||||
<value>rmi://localhost:1313/avm</value>
|
||||
</property>
|
||||
<property name="serviceInterface">
|
||||
<value>org.alfresco.service.cmr.remote.AVMRemoteTransport</value>
|
||||
</property>
|
||||
<property name="refreshStubOnConnectFailure">
|
||||
<value>true</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="avmSyncService" class="org.alfresco.repo.remote.AVMSyncServiceClient">
|
||||
<property name="avmSyncServiceTransport">
|
||||
<ref bean="avmSyncServiceTransport"/>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="avmSyncServiceTransport" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
|
||||
<property name="serviceUrl">
|
||||
<value>rmi://localhost:1313/avmsync</value>
|
||||
</property>
|
||||
<property name="serviceInterface">
|
||||
<value>org.alfresco.service.cmr.remote.AVMSyncServiceTransport</value>
|
||||
</property>
|
||||
<property name="refreshStubOnConnectFailure">
|
||||
<value>true</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="authenticationService" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
|
||||
<property name="serviceUrl">
|
||||
<value>rmi://localhost:1313/authentication</value>
|
||||
</property>
|
||||
<property name="serviceInterface">
|
||||
<value>org.alfresco.service.cmr.security.AuthenticationService</value>
|
||||
</property>
|
||||
<property name="refreshStubOnConnectFailure">
|
||||
<value>true</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="repoRemoteTransport" class="org.springframework.remoting.rmi.RmiProxyFactoryBean">
|
||||
<property name="serviceUrl">
|
||||
<value>rmi://localhost:1313/repo</value>
|
||||
</property>
|
||||
<property name="serviceInterface">
|
||||
<value>org.alfresco.service.cmr.remote.RepoRemoteTransport</value>
|
||||
</property>
|
||||
<property name="refreshStubOnConnectFailure">
|
||||
<value>true</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="repoRemote" class="org.alfresco.repo.remote.RepoRemoteImpl">
|
||||
<property name="repoRemoteTransport">
|
||||
<ref bean="repoRemoteTransport"/>
|
||||
</property>
|
||||
</bean>
|
||||
</beans>
|
Reference in New Issue
Block a user