blob: 0a58abc00faf59d87ecfd228cacd17bd316b6370 [file] [log] [blame]
<ipojo xmlns:tr="org.apache.felix.ipojo.transaction">
<component classname="org.apache.felix.ipojo.transaction.test.component.FooDelegator" name="never-ok">
<provides/>
<requires field="foo"/>
<tr:transaction field="transaction">
<transactionnal method="doSomethingGood" propagation="never"/>
<transactionnal method="getCurrentTransaction" propagation="never"/>
<transactionnal method="doSomethingBad" propagation="never"/>
<transactionnal method="doSomethingBad2" norollbackfor="java.lang.UnsupportedOperationException" propagation="never"/>
<transactionnal method="doSomethingLong" propagation="never"/>
</tr:transaction>
</component>
<component classname="org.apache.felix.ipojo.transaction.test.component.FooDelegator" name="never-cb">
<provides/>
<requires field="foo" />
<tr:transaction field="transaction" onCommit="onCommit" onRollback="onRollback">
<transactionnal method="doSomethingGood" propagation="never"/>
<transactionnal method="getCurrentTransaction" propagation="never"/>
<transactionnal method="doSomethingBad" propagation="never"/>
<transactionnal method="doSomethingBad2" norollbackfor="java.lang.UnsupportedOperationException" propagation="never"/>
<transactionnal method="doSomethingLong" propagation="never"/>
</tr:transaction>
</component>
</ipojo>