I integrated the Transaction subsystem with the OSGi layer
I renamed the original TransactionManagerService -> ArjunaTransactionManagerService and created four new services
As their names suggest they provide factory services to the standard Tx API. The OSGi service are registerd PASSIVE.
When the BundleContextService comes up, the TransactionManager and UserTransaction are registerd as ServiceFactories with the OSGi registry.
Test coverage is in our example testsuite
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.722 sec
Please pull from http://github.com/jbosgi/jboss-as/tree/jbosgi-tx