Files
alfresco-community-repo/source/java/web-services-application-context.xml
Roy Wetherall bb91b181e5 - Added batchable user queries to admin web service API
- Added big P person service
- web service clinet jar is now build by build process
- Added distribute-web-service-client target which will create web service lcient distribution zip file containing jar and dependant resources
- Added web service client property file so destination repository can be easily specified

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2233 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-01-27 17:03:57 +00:00

222 lines
7.5 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>
<!-- Cache to use to store QuerySession instances -->
<bean id="querySessionCache" class="org.alfresco.repo.cache.EhCacheAdapter">
<property name="cache">
<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean" >
<property name="cacheName">
<value>webservice.QuerySessionCache</value>
</property>
</bean>
</property>
</bean>
<!-- Cache to used to store UserQueryResults instances -->
<bean id="userQuerySessionCache" class="org.alfresco.repo.cache.EhCacheAdapter">
<property name="cache">
<bean class="org.springframework.cache.ehcache.EhCacheFactoryBean" >
<property name="cacheName">
<value>webservice.UserQuerySessionCache</value>
</property>
</bean>
</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>
</bean>
<!-- Implementations of each exposed web service -->
<bean id="authenticationWebService" class="org.alfresco.repo.webservice.authentication.AuthenticationWebService">
<property name="authenticationService">
<ref bean="AuthenticationService"/>
</property>
</bean>
<bean id="repositoryWebService" class="org.alfresco.repo.webservice.repository.RepositoryWebService">
<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="querySessionCache"/>
</property>
<property name="cmlUtil">
<ref bean="CMLUtil"/>
</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="transactionComponent"/>
</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="transactionComponent"/>
</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="transactionComponent"/>
</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="transactionComponent"/>
</property>
<property name="permissionService">
<ref bean="PermissionService"/>
</property>
<property name="ownableService">
<ref bean="OwnableService"/>
</property>
</bean>
<bean id="administrationWebService" class="org.alfresco.repo.webservice.administration.AdministrationWebService">
<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="transactionComponent"/>
</property>
<property name="authenticationService">
<ref bean="AuthenticationService"/>
</property>
<property name="personService">
<ref bean="PersonService"/>
</property>
<property name="querySessionCache">
<ref bean="userQuerySessionCache"/>
</property>
</bean>
</beans>