META-INF.spring.metadata-configuration.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-1.2.xsd" xmlns:context="http://www.springframework.org/schema/context" xmlns:osgi="http://www.springframework.org/schema/osgi" default-autowire="autodetect"> <context:component-scan base-package="org.randombits.confluence.metadata.migration" /> <context:component-scan base-package="org.randombits.confluence.metadata.indexing" /> <osgi:reference id="bootstrapManager" interface="com.atlassian.confluence.setup.BootstrapManager" /> <osgi:reference id="contentPropertyManager" interface="com.atlassian.confluence.core.ContentPropertyManager" /> <osgi:service id="typeHandlerModuleDescriptorFactory" interface="com.atlassian.plugin.osgi.external.ListableModuleDescriptorFactory"> <bean class="org.randombits.confluence.metadata.impl.TypeHandlerModuleDescriptorFactory"> <constructor-arg index="0"> <bean class="com.atlassian.plugin.osgi.bridge.external.SpringHostContainer"/> </constructor-arg> <constructor-arg index="1"> <ref bean="moduleFactory"/> </constructor-arg> </bean> </osgi:service> </beans>