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:
David Caruana
2006-02-16 15:11:53 +00:00
parent 6fac677245
commit 6cb16abef4
14 changed files with 388 additions and 189 deletions

View File

@@ -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>