Moved patch config files

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2160 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley 2006-01-20 14:43:33 +00:00
parent 8b0fa4a821
commit b4220a973b
2 changed files with 14 additions and 12 deletions

View File

@ -20,7 +20,7 @@
<import resource="classpath:alfresco/extension/extension-context.xml" />
<import resource="classpath:alfresco/authority-services-context.xml" />
<import resource="classpath:alfresco/authentication-services-context.xml" />
<import resource="classpath:alfresco/patch-services-context.xml" />
<import resource="classpath:alfresco/patch/*.xml" />
<!-- Import custom and overriding bean definitions. This must be done after the Alfresco-maintained beans. -->
<!-- e.g.

View File

@ -40,25 +40,27 @@
<property name="patchDaoService">
<ref bean="patchDaoComponent" />
</property>
<!-- list all the patches -->
<property name="patches" >
<list>
</list>
</property>
</bean>
<!-- base patch definition -->
<bean id="basePatch" abstract="true" depends-on="patchComponent" init-method="init">
<property name="transactionService"><ref bean="transactionComponent" /></property>
</bean>
<!-- Example patches -->
<bean id="patch.sample.01" class="org.alfresco.repo.admin.patch.SamplePatch" >
<property name="transactionService"><ref bean="transactionComponent" /></property>
<bean id="patch.sample.01" class="org.alfresco.repo.admin.patch.SamplePatch" parent="basePatch" >
<property name="id"><value>Sample01</value></property>
<property name="description"><value>A NO-OP sample patch</value></property>
<property name="applyToVersion"><value>0.0</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>1000</value></property>
<property name="targetSchema"><value>1001</value></property>
</bean>
<bean id="patch.sample.02" class="org.alfresco.repo.admin.patch.SamplePatch" >
<property name="transactionService"><ref bean="transactionComponent" /></property>
<bean id="patch.sample.02" class="org.alfresco.repo.admin.patch.SamplePatch" parent="basePatch" >
<property name="id"><value>Sample02</value></property>
<property name="description"><value>A NO-OP sample patch</value></property>
<property name="applyToVersion"><value>1.2</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>1000</value></property>
<property name="targetSchema"><value>1001</value></property>
<property name="dependsOn" >
<list>
<ref bean="patch.sample.01" />