META-INF.spring.conveyor-configuration.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of confluence-conveyor Show documentation
Show all versions of confluence-conveyor Show documentation
Allows plugins to override XWork actions in Confluence.
<?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="org.randombits.confluence.conveyor.xwork.ConveyorActionProxyFactory"> <constructor-arg index="0"> <ref bean="overrideManager"/> </constructor-arg> </bean> <bean id="conveyorManager" name="ConveyorManager" class="org.randombits.confluence.conveyor.impl.DefaultConveyorManager"> <constructor-arg index="0"> <ref bean="conveyorActionProxyFactory"/> </constructor-arg> </bean> <bean id="overrideManager" name="OverrideManager" class="org.randombits.confluence.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="org.randombits.confluence.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> </bean> </osgi:service> </beans>