Files
alfresco-community-repo/config/alfresco/network-protocol-context.xml
Dave Ward a2c2e215a8 Merged DEV/BELARUS/HEAD-2010_02_10 to HEAD
19151: SAIL-298: Implemented subsystem changes.
      - We didn't remove the cifs.serverName property because it is independent of host/port/context/protocol.
   Applied following corrections
      - Removed the email 'chain'. OutboundSMTP and InboundSMTP are separate subsystems and don't need to be chained
      - Added the ability for multiple Spring-initialized subsystems to share the same category
      - No need to expose mailService outside of the OutboundSMTP subsystem as far as I can tell
      - GlobalDeskTopActionConfigBean doesn't need dependencies and no longer exposes the webpath property
      - Fixed construction of contexts in ContentDiskDriver.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-12 18:41:09 +00:00

109 lines
5.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>
<!-- Note - many beans in this file are not directly used -->
<!-- within the main context. Instead, they are used by -->
<!-- beans defined within the fileServer subsystem -->
<!-- File Server Configuration -->
<bean id="fileServerConfigurationBase"
abstract="true"
destroy-method="closeConfiguration">
<property name="authenticationService">
<ref bean="authenticationService"/>
</property>
<property name="authenticationComponent">
<ref bean="authenticationComponent"/>
</property>
<property name="nodeService">
<ref bean="NodeService"/>
</property>
<property name="tenantService">
<ref bean="tenantService" />
</property>
<property name="searchService">
<ref bean="SearchService" />
</property>
<property name="namespaceService">
<ref bean="namespaceService" />
</property>
<property name="personService">
<ref bean="personService"/>
</property>
<property name="transactionService">
<ref bean="transactionService"/>
</property>
<property name="authorityService">
<ref bean="authorityService"/>
</property>
<property name="diskInterface">
<ref bean="contentDiskDriver"/>
</property>
<property name="avmDiskInterface">
<ref bean="avmDiskDriver"/>
</property>
</bean>
<!-- Filesystem Interface -->
<bean id="contentDiskDriver" class="org.alfresco.filesys.repo.ContentDiskDriver" >
<constructor-arg>
<ref bean="cifsHelper" />
</constructor-arg>
<property name="transactionService"><ref bean="transactionService" /></property>
<property name="nodeService"><ref bean="NodeService" /></property>
<property name="searchService"><ref bean="SearchService" /></property>
<property name="namespaceService"><ref bean="namespaceService" /></property>
<property name="contentService"><ref bean="ContentService" /></property>
<property name="mimetypeService"><ref bean="MimetypeService" /></property>
<property name="permissionService"><ref bean="permissionService"/></property>
<property name="authenticationContext"><ref bean="authenticationContext"/></property>
<property name="authenticationService"><ref bean="authenticationService"/></property>
<property name="sysAdminParams"><ref bean="sysAdminParams"/></property>
<property name="fileFolderService"><ref bean="FileFolderService" /></property>
<property name="serviceRegistry"><ref bean="ServiceRegistry"/></property>
<property name="stateReaper"><ref bean="fileStateReaper"/></property>
<property name="nodeMonitorFactory"><ref bean="nodeMonitorFactory"/></property>
<property name="nodeArchiveService"><ref bean="nodeArchiveService" /></property>
</bean>
<bean id="nodeMonitorFactory" class="org.alfresco.filesys.repo.NodeMonitorFactory">
<property name="transactionService"><ref bean="transactionService" /></property>
<property name="nodeService"><ref bean="nodeService" /></property>
<property name="fileFolderService"><ref bean="fileFolderService" /></property>
<property name="permissionService"><ref bean="permissionService"/></property>
<property name="policyComponent"><ref bean="policyComponent"/></property>
</bean>
<bean id="cifsHelper" class="org.alfresco.filesys.repo.CifsHelper">
<property name="dictionaryService"><ref bean="dictionaryService" /></property>
<property name="nodeService"><ref bean="NodeService" /></property>
<property name="fileFolderService"><ref bean="FileFolderService" /></property>
<property name="mimetypeService"><ref bean="mimetypeService" /></property>
<property name="permissionService"><ref bean="permissionService"/></property>
<property name="allowWrites"><value>${server.transaction.allow-writes}</value></property>
</bean>
<!-- WCM/AVM Filesystem Interface -->
<bean id="avmDiskDriver" class="org.alfresco.filesys.avm.AVMDiskDriver">
<property name="avmService"><ref bean="AVMLockingAwareService"/></property>
<property name="transactionService"><ref bean="transactionService"/></property>
<property name="authenticationComponent"><ref bean="authenticationComponent"/></property>
<property name="authenticationService"><ref bean="authenticationService"/></property>
<property name="mimetypeService"><ref bean="mimetypeService"/></property>
<property name="serviceRegistry"><ref bean="ServiceRegistry"/></property>
<property name="stateReaper"><ref bean="fileStateReaper"/></property>
<property name="nodeService"><ref bean="NodeService"/></property>
<property name="createStoreListener"><ref bean="createStoreTxnListener"/></property>
<property name="purgeStoreListener"><ref bean="purgeStoreTxnListener"/></property>
<property name="createVersionListener"><ref bean="createVersionTxnListener"/></property>
<property name="purgeVersionListener"><ref bean="purgeVersionTxnListener"/></property>
</bean>
<!-- File State Reaper -->
<bean id="fileStateReaper" class="org.alfresco.filesys.state.FileStateReaper"
destroy-method="shutdownRequest"/>
</beans>