META-INF.sca-contribution.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:f3="urn:fabric3.org" f3:extension="true" f3:description="JTA extension"> <import.java package="javax.transaction" version="1.1.0"/> <import.java package="javax.transaction.xa" version="1.1.0"/> <!-- JMS is required as Atomikos delegates to ClassLoadingHelper to instantiate JMS connection factories, which uses the TCCL or its classloader. --> <import.java package="javax.jms" version="1.1.0"/> <import.java package="com.atomikos.*" version="3.8.0"/> <import.java package="org.fabric3.spi.*" version="2.5.2"/> <import.java package="org.fabric3.datasource.spi"/> <deployable composite="f3:AtomikosExtension"/> <f3:provides name="datasource"/> <f3:provides.capability name="transaction"/> </contribution>