/activeobjects-confluence-spi/src/main/resources/META-INF/spring/plugin-context.xml
XML | 18 lines | 14 code | 3 blank | 1 comment | 0 complexity | 10fbabbae30906e0087a2c48015f64c4 MD5 | raw file
Possible License(s): Apache-2.0
- <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">
-
- <!-- Make this an optional service to avoid circular dependency with active objects plugin -->
- <osgi:reference id="backup" interface="com.atlassian.activeobjects.spi.Backup" cardinality='0..1'/>
- <osgi:reference id="transactionTemplate" interface="com.atlassian.sal.api.transaction.TransactionTemplate" timeout="2000" cardinality="0..1"/>
- <osgi:reference id="threadLocalDelegateExecutorFactory" interface="com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory"/>
- <osgi:reference id="tenantAwareDataSourceProvider" interface="com.atlassian.activeobjects.spi.TenantAwareDataSourceProvider"/>
- <bean id="defaultInitExecutorServiceProvider" class="com.atlassian.activeobjects.spi.DefaultInitExecutorServiceProvider">
- <constructor-arg index="0" ref="threadLocalDelegateExecutorFactory"/>
- </bean>
- </beans>