[jboss-cvs] JBossAS SVN: r65499 - in projects/integration/trunk: jboss-corba-ots-spi and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Sep 20 11:47:16 EDT 2007
Author: reverbel
Date: 2007-09-20 11:47:16 -0400 (Thu, 20 Sep 2007)
New Revision: 65499
Modified:
projects/integration/trunk/build/pom.xml
projects/integration/trunk/jboss-corba-ots-spi/pom.xml
projects/integration/trunk/jboss-corba-ots-spi/src/main/org/jboss/iiop/tm/InboundTransactionCurrent.java
Log:
InboundTransactionCurrent must be a local CORBA Object, otherwise register_initial_reference will not take it.
Modified: projects/integration/trunk/build/pom.xml
===================================================================
--- projects/integration/trunk/build/pom.xml 2007-09-20 15:03:01 UTC (rev 65498)
+++ projects/integration/trunk/build/pom.xml 2007-09-20 15:47:16 UTC (rev 65499)
@@ -163,6 +163,11 @@
<artifactId>jboss-transaction-api</artifactId>
<version>1.0.1</version>
</dependency>
+ <dependency>
+ <groupId>jacorb</groupId>
+ <artifactId>jacorb</artifactId>
+ <version>2.3.0jboss.patch4-brew</version>
+ </dependency>
</dependencies>
</dependencyManagement>
</project>
Modified: projects/integration/trunk/jboss-corba-ots-spi/pom.xml
===================================================================
--- projects/integration/trunk/jboss-corba-ots-spi/pom.xml 2007-09-20 15:03:01 UTC (rev 65498)
+++ projects/integration/trunk/jboss-corba-ots-spi/pom.xml 2007-09-20 15:47:16 UTC (rev 65499)
@@ -19,5 +19,9 @@
<groupId>org.jboss.javaee</groupId>
<artifactId>jboss-transaction-api</artifactId>
</dependency>
+ <dependency>
+ <groupId>jacorb</groupId>
+ <artifactId>jacorb</artifactId>
+ </dependency>
</dependencies>
</project>
Modified: projects/integration/trunk/jboss-corba-ots-spi/src/main/org/jboss/iiop/tm/InboundTransactionCurrent.java
===================================================================
--- projects/integration/trunk/jboss-corba-ots-spi/src/main/org/jboss/iiop/tm/InboundTransactionCurrent.java 2007-09-20 15:03:01 UTC (rev 65498)
+++ projects/integration/trunk/jboss-corba-ots-spi/src/main/org/jboss/iiop/tm/InboundTransactionCurrent.java 2007-09-20 15:47:16 UTC (rev 65499)
@@ -22,12 +22,14 @@
package org.jboss.iiop.tm;
import javax.transaction.Transaction;
+import org.omg.CORBA.LocalInterface;
+import org.omg.CORBA.Current;
/**
* Interface to be implemented by a CORBA OTS provider for integration with
* JBossAS. The CORBA OTS provider must (i) create an object that implements
* this interface and (ii) register an initial reference for that object
- * with the JBossAS ORB, under name "JBossInboundTransactionCurrent".
+ * with the JBossAS ORB, under name "InboundTransactionCurrent".
* <p>
* Step (ii) above should be done by a call
* <code>orbInitInfo.register_initial_reference</code> within the
@@ -39,8 +41,10 @@
* @author <a href="mailto:reverbel at ime.usp.br">Francisco Reverbel</a>
* @version $Revision$
*/
-public interface InboundTransactionCurrent
+public interface InboundTransactionCurrent extends LocalInterface, Current
{
+ public final String NAME = "InboundTransactionCurrent";
+
/**
* Gets the Transaction instance associated with the current incoming
* request. This method should be called only by code that handles incoming
More information about the jboss-cvs-commits
mailing list