META-INF.spring.supplier-configuration.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of supplier-core Show documentation
Show all versions of supplier-core Show documentation
The Supplier Plugin provides a simple way for plugins to provide data access points to their own APIs
that can be used across multiple other plugin, such as the Reporting Plugin, Linking and Scaffolding, for
example.
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:osgi="http://www.springframework.org/schema/osgi" 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/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> <osgi:service id="supplierModuleDescriptorFactory" interface="com.atlassian.plugin.osgi.external.ListableModuleDescriptorFactory"> <bean class="org.randombits.supplier.core.impl.SupplierModuleDescriptorFactory"> <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> <osgi:service id="injectionAdaptorModuleDescriptorFactory" interface="com.atlassian.plugin.osgi.external.ListableModuleDescriptorFactory"> <bean class="org.randombits.supplier.core.impl.InjectionAdaptorModuleDescriptorFactory"> <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>