Files
alfresco-community-repo/source/java/web-services-application-context.xml
Roy Wetherall 780c74c4b5 Merged V2.1-A to HEAD
7686: Added authority management methods to AccessControl web service and associated unit tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-04-02 12:25:46 +00:00

227 lines
7.6 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!-- Axis handler to validate the ticket sent with the web service request -->
<bean id="ticketCallbackHandler" class="org.alfresco.repo.webservice.axis.TicketCallbackHandler">
<property name="authenticationService">
<ref bean="AuthenticationService"/>
</property>
</bean>
<!-- CLM Util bean -->
<bean id="CMLUtil" class="org.alfresco.repo.webservice.CMLUtil">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="copyService">
<ref bean="CopyService"/>
</property>
<property name="dictionaryService">
<ref bean="DictionaryService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
</bean>
<!-- Implementations of each exposed web service -->
<bean id="authenticationWebService" class="org.alfresco.repo.webservice.authentication.AuthenticationWebService">
<property name="authenticationService">
<ref bean="AuthenticationService"/>
</property>
<property name="authenticationComponent">
<ref bean="authenticationComponent"/>
</property>
</bean>
<bean id="repositoryWebService" class="org.alfresco.repo.webservice.repository.RepositoryWebService">
<property name="serviceRegistry">
<ref bean="ServiceRegistry"/>
</property>
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="dictionaryService">
<ref bean="DictionaryService"/>
</property>
<property name="querySessionCache">
<ref bean="webServicesQuerySessionCache"/>
</property>
<property name="cmlUtil">
<ref bean="CMLUtil"/>
</property>
</bean>
<bean id="dictionaryWebService" class="org.alfresco.repo.webservice.dictionary.DictionaryWebService">
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="dictionaryService">
<ref bean="DictionaryService"/>
</property>
</bean>
<bean id="contentWebService" class="org.alfresco.repo.webservice.content.ContentWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
</bean>
<bean id="authoringWebService" class="org.alfresco.repo.webservice.authoring.AuthoringWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="checkOutCheckinService">
<ref bean="CheckoutCheckinService"/>
</property>
<property name="lockService">
<ref bean="LockService"/>
</property>
<property name="versionService">
<ref bean="VersionService"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
</bean>
<bean id="classificationWebService" class="org.alfresco.repo.webservice.classification.ClassificationWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="dictionaryService">
<ref bean="DictionaryService"/>
</property>
<property name="categoryService">
<ref bean="CategoryService"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
</bean>
<bean id="actionWebService" class="org.alfresco.repo.webservice.action.ActionWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="contentService">
<ref bean="ContentService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="actionService">
<ref bean="ActionService"/>
</property>
<property name="ruleService">
<ref bean="RuleService"/>
</property>
<property name="dictionaryService">
<ref bean="DictionaryService"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
</bean>
<bean id="accessControlWebService" class="org.alfresco.repo.webservice.accesscontrol.AccessControlWebService">
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
<property name="permissionService">
<ref bean="PermissionService"/>
</property>
<property name="ownableService">
<ref bean="OwnableService"/>
</property>
<property name="authorityService">
<ref bean="AuthorityService"/>
</property>
</bean>
<bean id="administrationWebService" class="org.alfresco.repo.webservice.administration.AdministrationWebService">
<property name="serviceRegistry">
<ref bean="ServiceRegistry"/>
</property>
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="searchService">
<ref bean="SearchService"/>
</property>
<property name="namespaceService">
<ref bean="NamespaceService"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
<property name="authenticationService">
<ref bean="AuthenticationService"/>
</property>
<property name="personService">
<ref bean="PersonService"/>
</property>
<property name="querySessionCache">
<ref bean="webServicesQuerySessionCache"/>
</property>
</bean>
</beans>