User: user57
Date: 01/06/20 17:25:54
Modified: src/main/org/jboss/ejb/plugins/jms JMSContainerInvoker.java
Log:
o Changed MessageDrivenContainer.init() to not hide the stack of thrown
exceptions, but logs them and rethrows. Tidy'd up some tabs and
changes some // comments to javadoc.
o Changed JMSContainerInvoker to use a TransactionManager instead of a
TxManager, since all it does it call tm.getTransaction(). This
prevents a ClassCastException when a different TM is used (like Tyrex).
Revision Changes Path
1.14 +3 -5
jboss/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java
Index: JMSContainerInvoker.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/jms/JMSContainerInvoker.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- JMSContainerInvoker.java 2001/06/18 20:01:24 1.13
+++ JMSContainerInvoker.java 2001/06/21 00:25:54 1.14
@@ -35,8 +35,6 @@
import org.jboss.ejb.ContainerInvoker;
import org.jboss.ejb.DeploymentException;
-import org.jboss.tm.TxManager;
-
import org.jboss.logging.Logger;
import org.jboss.metadata.XmlLoadable;
import org.jboss.metadata.MetaData;
@@ -60,7 +58,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Rickard Öberg</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
- * @version $Revision: 1.13 $
+ * @version $Revision: 1.14 $
*/
public class JMSContainerInvoker implements
ContainerInvoker, XmlLoadable
@@ -96,7 +94,7 @@
protected Connection connection;
protected ConnectionConsumer connectionConsumer;
- protected TxManager tm;
+ protected TransactionManager tm;
protected ServerSessionPool pool;
protected ExceptionListenerImpl exListener;
@@ -167,7 +165,7 @@
{
// Store TM reference locally - should we test for CMT Required
- tm = (TxManager) container.getTransactionManager();
+ tm = container.getTransactionManager();
/*
* Get configuration information - from EJB-xml
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development