mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
context to allow calls to normal services. Added <relativePath> filesystem configuration to allow root of filesystem to be a folder node within the hierarchy. Changed drag and drop <path> setting to search the classpath for the file. Added checks to validate that the file exists and is on the local filesystem. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
74 lines
3.2 KiB
XML
74 lines
3.2 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>
|
|
<!-- File Server Configuration -->
|
|
<bean id="fileServerConfiguration"
|
|
class="org.alfresco.filesys.server.config.ServerConfiguration"
|
|
init-method="init"
|
|
destroy-method="closeConfiguration"
|
|
depends-on="importerBootstrap">
|
|
<constructor-arg>
|
|
<ref bean="authenticationManager"/>
|
|
</constructor-arg>
|
|
<constructor-arg>
|
|
<ref bean="authenticationService"/>
|
|
</constructor-arg>
|
|
<constructor-arg>
|
|
<ref bean="authenticationComponent"/>
|
|
</constructor-arg>
|
|
<constructor-arg>
|
|
<ref bean="nodeService"/>
|
|
</constructor-arg>
|
|
<constructor-arg>
|
|
<ref bean="personService"/>
|
|
</constructor-arg>
|
|
<constructor-arg>
|
|
<ref bean="transactionComponent"/>
|
|
</constructor-arg>
|
|
<constructor-arg>
|
|
<value>classpath:alfresco/file-servers.xml</value>
|
|
</constructor-arg>
|
|
<constructor-arg>
|
|
<ref bean="contentDiskDriver" />
|
|
</constructor-arg>
|
|
</bean>
|
|
|
|
<!-- CIFS Server -->
|
|
<bean id="cifsServer" class="org.alfresco.filesys.CIFSServer" init-method="startServer" destroy-method="stopServer" depends-on="importerBootstrap">
|
|
<constructor-arg>
|
|
<ref bean="fileServerConfiguration"/>
|
|
</constructor-arg>
|
|
</bean>
|
|
|
|
<!-- FTP Server -->
|
|
<bean id="ftpServer" class="org.alfresco.filesys.FTPServer" init-method="startServer" destroy-method="stopServer" depends-on="importerBootstrap">
|
|
<constructor-arg>
|
|
<ref bean="fileServerConfiguration"/>
|
|
</constructor-arg>
|
|
</bean>
|
|
|
|
<!-- Filesystem Interface -->
|
|
<bean id="contentDiskDriver" class="org.alfresco.filesys.smb.server.repo.ContentDiskDriver" >
|
|
<constructor-arg>
|
|
<ref bean="cifsHelper" />
|
|
</constructor-arg>
|
|
<property name="transactionService"><ref bean="transactionComponent" /></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="permissionService"><ref bean="permissionService"/></property>
|
|
<property name="checkInOutService"><ref bean="checkOutCheckInService"/></property>
|
|
<property name="authenticationComponent"><ref bean="authenticationComponent"/></property>
|
|
</bean>
|
|
|
|
<bean id="cifsHelper" class="org.alfresco.filesys.smb.server.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="mimetypeMap" /></property>
|
|
<property name="permissionService"><ref bean="permissionService"/></property>
|
|
</bean>
|
|
|
|
</beans> |