[jboss-dev-forums] [JBoss AS7 Development] - Transaction OSGi Integration
Thomas Diesler
do-not-reply at jboss.com
Fri Oct 29 19:30:41 EDT 2010
Thomas Diesler [http://community.jboss.org/people/thomas.diesler%40jboss.com] created the discussion
"Transaction OSGi Integration"
To view the discussion, visit: http://community.jboss.org/message/569059#569059
--------------------------------------------------------------
I integrated the Transaction subsystem with the OSGi layer
https://jira.jboss.org/browse/JBAS-8585 [JBAS-8585] Provide TransactionManager & UserTransaction as OSGi services
I renamed the original TransactionManagerService -> ArjunaTransactionManagerService and created four new services
* TransactionManagerService
* TransactionManagerOSGiService
* UserTransactionService
* UserTransactionOSGiService
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 http://www.osgi.org/javadoc/r4v42/org/osgi/framework/ServiceFactory.html ServiceFactories with the OSGi registry.
Test coverage is in our example testsuite
Running org.jboss.test.osgi.example.jta.TransactionTestCase
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 http://github.com/jbosgi/jboss-as/tree/jbosgi-tx
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/569059#569059]
Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101029/9ce73ce1/attachment.html
More information about the jboss-dev-forums
mailing list