[jboss-cvs] JBossAS SVN: r67214 - in branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote: unit and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Nov 16 21:24:46 EST 2007
Author: bdecoste
Date: 2007-11-16 21:24:45 -0500 (Fri, 16 Nov 2007)
New Revision: 67214
Modified:
branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatefulBean.java
branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatelessBean.java
branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/unit/LocalTestCase.java
Log:
[JBPAPP-335] [EJBTHREE-1019] fixed remoteHome binding
Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatefulBean.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatefulBean.java 2007-11-17 02:13:38 UTC (rev 67213)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatefulBean.java 2007-11-17 02:24:45 UTC (rev 67214)
@@ -75,7 +75,7 @@
{
++homeMethodCount;
InitialContext jndiContext = new InitialContext();
- StatefulRemoteHome statefulHome = (StatefulRemoteHome)jndiContext.lookup("StatefulBean/remoteHome");
+ StatefulRemoteHome statefulHome = (StatefulRemoteHome)jndiContext.lookup("StatefulBean/home");
StatefulRemote stateful = statefulHome.create();
log.info("*** calling RemoteHome ... " + jndiContext.getEnvironment());
return stateful.homeMethod();
Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatelessBean.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatelessBean.java 2007-11-17 02:13:38 UTC (rev 67213)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/StatelessBean.java 2007-11-17 02:24:45 UTC (rev 67214)
@@ -77,7 +77,7 @@
{
++homeMethodCount;
InitialContext jndiContext = new InitialContext();
- StatelessRemoteHome statelessHome = (StatelessRemoteHome)jndiContext.lookup("StatelessBean/remoteHome");
+ StatelessRemoteHome statelessHome = (StatelessRemoteHome)jndiContext.lookup("StatelessBean/home");
StatelessRemote stateless = statelessHome.create();
return stateless.homeMethod();
}
Modified: branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/unit/LocalTestCase.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/unit/LocalTestCase.java 2007-11-17 02:13:38 UTC (rev 67213)
+++ branches/JBPAPP_4_2_0_GA_CP/ejb3/src/test/org/jboss/ejb3/test/localfromremote/unit/LocalTestCase.java 2007-11-17 02:24:45 UTC (rev 67214)
@@ -61,7 +61,7 @@
public void testStatelessLocalHomeFromRemoteHome() throws Exception
{
- StatefulRemoteHome home = (StatefulRemoteHome) getInitialContext().lookup("StatefulBean/remoteHome");
+ StatefulRemoteHome home = (StatefulRemoteHome) getInitialContext().lookup("StatefulBean/home");
StatefulRemote bean = home.create();
assertNotNull(bean);
@@ -85,7 +85,7 @@
public void testStatelessRemoteHomeFromRemoteHome() throws Exception
{
- StatefulRemoteHome home = (StatefulRemoteHome) getInitialContext().lookup("StatefulBean/remoteHome");
+ StatefulRemoteHome home = (StatefulRemoteHome) getInitialContext().lookup("StatefulBean/home");
StatefulRemote bean = home.create();
assertNotNull(bean);
@@ -104,7 +104,7 @@
public void testStatefulRemoteHomeFromRemoteHome() throws Exception
{
- StatelessRemoteHome home = (StatelessRemoteHome) getInitialContext().lookup("StatelessBean/remoteHome");
+ StatelessRemoteHome home = (StatelessRemoteHome) getInitialContext().lookup("StatelessBean/home");
StatelessRemote bean = home.create();
assertNotNull(bean);
@@ -133,7 +133,7 @@
public void testStatefulLocalHomeFromRemoteHome() throws Exception
{
InitialContext jndiContext = new InitialContext();
- StatelessRemoteHome home = (StatelessRemoteHome) jndiContext.lookup("StatelessBean/remoteHome");
+ StatelessRemoteHome home = (StatelessRemoteHome) jndiContext.lookup("StatelessBean/home");
StatelessRemote bean = home.create();
assertNotNull(bean);
More information about the jboss-cvs-commits
mailing list