First-cut RepoAdmin Service for managing models & messages in the repo (not yet enabled)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-09-05 17:18:23 +00:00
parent 964f88773b
commit 9f539ce6e7
11 changed files with 1591 additions and 0 deletions

View File

@@ -1419,4 +1419,36 @@
</property>
</bean>
<!-- Repository Admin Service -->
<bean id="RepoAdminService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.service.cmr.admin.RepoAdminService</value>
</property>
<property name="target">
<ref bean="repoAdminService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="RepoAdminService_transaction"/>
<idref local="AuditMethodInterceptor"/>
<idref local="exceptionTranslator"/>
<idref bean="RepoAdminService_security"/>
</list>
</property>
</bean>
<bean id="RepoAdminService_transaction" class="org.springframework.transaction.interceptor.TransactionInterceptor">
<property name="transactionManager">
<ref bean="transactionManager"/>
</property>
<property name="transactionAttributes">
<props>
<prop key="get*">${server.transaction.mode.readOnly}</prop>
<prop key="*">${server.transaction.mode.default}</prop>
</props>
</property>
</bean>
</beans>