You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

spring-context.xml 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. -->
  20. <beans xmlns="http://www.springframework.org/schema/beans"
  21. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  22. xsi:schemaLocation="http://www.springframework.org/schema/beans
  23. http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"
  24. default-lazy-init="true">
  25. <bean name="archivaConfiguration#test-conf" class="org.apache.archiva.configuration.DefaultArchivaConfiguration">
  26. <property name="registry" ref="registry#configured"/>
  27. </bean>
  28. <bean name="admin-test-conf" class="org.apache.archiva.repository.scanner.ArchivaAdministrationStub">
  29. <constructor-arg ref="archivaConfiguration#test-conf"/>
  30. </bean>
  31. <bean name="registry#configured" class="org.apache.archiva.redback.components.registry.commons.CommonsConfigurationRegistry">
  32. <property name="properties">
  33. <value>
  34. <![CDATA[
  35. <configuration>
  36. <system/>
  37. <xml fileName="${basedir}/src/test/resources/scanner-archiva.xml"
  38. config-name="org.apache.archiva" config-at="org.apache.archiva"/>
  39. </configuration>
  40. ]]>
  41. </value>
  42. </property>
  43. </bean>
  44. <bean name="knownRepositoryContentConsumer#update-db-artifact" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  45. <property name="id" value="update-db-artifact"/>
  46. </bean>
  47. <bean name="knownRepositoryContentConsumer#create-missing-checksums" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  48. <property name="id" value="create-missing-checksums"/>
  49. </bean>
  50. <bean name="knownRepositoryContentConsumer#update-db-repository-metadata" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  51. <property name="id" value="update-db-repository-metadata"/>
  52. </bean>
  53. <bean name="knownRepositoryContentConsumer#validate-checksum" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  54. <property name="id" value="validate-checksum"/>
  55. </bean>
  56. <bean name="knownRepositoryContentConsumer#index-content" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  57. <property name="id" value="index-content"/>
  58. </bean>
  59. <bean name="knownRepositoryContentConsumer#auto-remove" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  60. <property name="id" value="auto-remove"/>
  61. </bean>
  62. <bean name="knownRepositoryContentConsumer#auto-rename" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  63. <property name="id" value="auto-rename"/>
  64. </bean>
  65. <bean name="knownRepositoryContentConsumer#available-but-unselected" class="org.apache.archiva.repository.scanner.SampleKnownConsumer">
  66. <property name="id" value="available-but-unselected"/>
  67. </bean>
  68. <bean name="invalidRepositoryContentConsumer#update-db-bad-content" class="org.apache.archiva.repository.scanner.InvalidScanConsumer">
  69. <property name="id" value="update-db-bad-content"/>
  70. </bean>
  71. <bean name="invalidRepositoryContentConsumer#move-to-trash-then-notify" class="org.apache.archiva.repository.scanner.InvalidScanConsumer">
  72. <property name="id" value="move-to-trash-then-notify"/>
  73. </bean>
  74. <bean name="repositoryContentConsumers#test" class="org.apache.archiva.repository.scanner.RepositoryContentConsumersStub">
  75. <constructor-arg ref="admin-test-conf"/>
  76. </bean>
  77. </beans>