blob: 8170a46ecceb4b519223c97d700b71f15163cfaf [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">
<transactional method="doSomethingGood" propagation="never"/>
<transactional method="getCurrentTransaction" propagation="never"/>
<transactional method="doSomethingBad" propagation="never"/>
<transactional method="doSomethingBad2" norollbackfor="java.lang.UnsupportedOperationException" propagation="never"/>
<transactional 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">
<transactional method="doSomethingGood" propagation="never"/>
<transactional method="getCurrentTransaction" propagation="never"/>
<transactional method="doSomethingBad" propagation="never"/>
<transactional method="doSomethingBad2" norollbackfor="java.lang.UnsupportedOperationException" propagation="never"/>
<transactional method="doSomethingLong" propagation="never"/>
</tr:transaction>
</component>
</ipojo>