mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix AR-431, AR-432.
Modified the Repository bootstrap mechanism so it's performed after all other initialisation and the order of bootstrap is explicit. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
<bean id="patch.savedSearches.Base" abstract="true" parent="basePatch" >
|
||||
<!-- helper beans for execution -->
|
||||
<property name="importerBootstrap">
|
||||
<ref bean="importerBootstrap" />
|
||||
<ref bean="spacesBootstrap" />
|
||||
</property>
|
||||
<property name="namespaceService">
|
||||
<ref bean="namespaceService" />
|
||||
@@ -164,7 +164,7 @@
|
||||
<ref bean="permissionService"/>
|
||||
</property>
|
||||
<property name="importerBootstrap">
|
||||
<ref bean="importerBootstrap" />
|
||||
<ref bean="spacesBootstrap" />
|
||||
</property>
|
||||
<property name="namespaceService">
|
||||
<ref bean="namespaceService" />
|
||||
@@ -185,15 +185,4 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- This component ensures that patches get applied on startup -->
|
||||
<!-- The order is important here. All the self-registering patches must be defined before this bean -->
|
||||
<bean id="patchExecuter"
|
||||
class="org.alfresco.repo.admin.patch.PatchExecuter"
|
||||
depends-on="importerBootstrap"
|
||||
init-method="applyOutstandingPatches">
|
||||
<property name="patchService">
|
||||
<ref bean="PatchService" />
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
Reference in New Issue
Block a user