com.servicerocket.confluence.randombits.conveyor-context.xml Maven / Gradle / Ivy
<?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"> <bean id="conveyorActionProxyFactory" name="ConveyorActionProxyFactory" class="com.servicerocket.confluence.randombits.conveyor.xwork.ConveyorActionProxyFactory"> </bean> <bean id="conveyorManager" name="ConveyorManager" class="com.servicerocket.confluence.randombits.conveyor.impl.DefaultConveyorManager"> <constructor-arg index="0"> <ref bean="conveyorActionProxyFactory"/> </constructor-arg> </bean> <bean id="overrideManager" name="OverrideManager" class="com.servicerocket.confluence.randombits.conveyor.impl.DefaultOverrideManager"> <constructor-arg index="0"> <ref bean="pluginAccessor"/> </constructor-arg> </bean> <osgi:service id="conveyorModuleDescriptorFactory" interface="com.atlassian.plugin.osgi.external.ListableModuleDescriptorFactory"> <bean class="com.servicerocket.confluence.randombits.conveyor.impl.ConveyorModuleDescriptorFactory"> <constructor-arg index="0"> <bean class="com.atlassian.plugin.osgi.bridge.external.SpringHostContainer"/> </constructor-arg> <constructor-arg index="1"> <ref bean="conveyorManager"/> </constructor-arg> <constructor-arg index="2"> <ref bean="overrideManager"/> </constructor-arg> <constructor-arg index="3"> <ref bean="moduleFactory"/> </constructor-arg> </bean> </osgi:service> </beans>