[jboss-cvs] JBossAS SVN: r66256 - in trunk/ejb3/src/test/org/jboss/ejb3/test: ejbcontext/unit and 5 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Oct 18 13:39:09 EDT 2007


Author: ALRubinger
Date: 2007-10-18 13:39:09 -0400 (Thu, 18 Oct 2007)
New Revision: 66256

Added:
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulLocalHome.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteBusiness.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteHome.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalBusiness.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalHome.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemote.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemoteHome.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalBusinessInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteBusinessInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30Business.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30RemoteBusiness.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteBusinessInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java
Removed:
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java
Modified:
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/unit/EjbContextUnitTestCase.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatefulBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatelessBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatefulBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatelessBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatefulBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatelessBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatefulBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatelessBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/Home.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalHome.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/TestBean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/unit/HomeTestCase.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/GlobalSession30Bean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/HomedStatefulSession30Bean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalSession30.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30Bean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30Bean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30LocalHome.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3Bean.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/RemoteHomeInterface.java
   trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/unit/JSR181TestCase.java
Log:
Resolved Unit Test failures resulting from fixes to EJBTHREE-1075

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -22,16 +22,15 @@
 package org.jboss.ejb3.test.ejbcontext;
 
 import javax.annotation.PostConstruct;
-import javax.annotation.Resource;
 import javax.ejb.EJB;
 import javax.ejb.EJBContext;
 import javax.ejb.EJBLocalObject;
 import javax.ejb.EJBObject;
 import javax.ejb.Local;
+import javax.ejb.LocalHome;
 import javax.ejb.Remote;
-import javax.ejb.SessionContext;
+import javax.ejb.RemoteHome;
 import javax.ejb.Stateful;
-
 import javax.naming.InitialContext;
 
 import org.jboss.annotation.ejb.LocalBinding;
@@ -46,17 +45,19 @@
  * @version $Revision$
  */
 @Stateful(name="Stateful")
- at Remote({org.jboss.ejb3.test.ejbcontext.Stateful.class, StatefulRemote.class})
+ at LocalHome(StatefulLocalHome.class)
+ at RemoteHome(StatefulRemoteHome.class)
+ at Remote({org.jboss.ejb3.test.ejbcontext.Stateful.class, StatefulRemoteBusiness.class,StatefulRemote.class})
 @Local(StatefulLocal.class)
 @LocalBinding(jndiBinding="StatefulLocal")
 @RemoteBindings({@RemoteBinding(jndiBinding = "Stateful"), @RemoteBinding(jndiBinding = "StatefulRemote")})
 public class StatefulBean extends BaseBean
-   implements org.jboss.ejb3.test.ejbcontext.Stateful, StatefulRemote
+   implements org.jboss.ejb3.test.ejbcontext.Stateful, StatefulRemoteBusiness
 {
    private static final Logger log = Logger.getLogger(StatefulBean.class);
    
    @EJB(mappedName="StatefulRemote")
-   StatefulRemote statefulRemote = null;
+   StatefulRemoteBusiness statefulRemote = null;
    
    @EJB StatefulLocalOnly statefulLocalOnly;
 

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulLocalHome.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulLocalHome.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulLocalHome.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.EJBLocalHome;
+
+/**
+ * 
+ * A StatefulLocalHome.
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: 1.1 $
+ */
+public interface StatefulLocalHome extends EJBLocalHome
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulLocalHome.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Deleted: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -1,39 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.test.ejbcontext;
-
-import javax.ejb.Remote;
-
-
-/**
- * Comment
- *
- * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
- * @version $Revision$
- */
- at Remote
-public interface StatefulRemote
-{
-   public Class testInvokedBusinessInterface2() throws Exception;
-   
-   Object testLocalOnlyGetBusinessObject() throws Exception;
-}

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.EJBObject;
+
+/**
+ * 
+ * A StatefulRemote.
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision$
+ */
+public interface StatefulRemote extends EJBObject
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Copied: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteBusiness.java (from rev 66223, trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemote.java)
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteBusiness.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteBusiness.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.Remote;
+
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ * @version $Revision$
+ */
+ at Remote
+public interface StatefulRemoteBusiness
+{
+   public Class testInvokedBusinessInterface2() throws Exception;
+   
+   Object testLocalOnlyGetBusinessObject() throws Exception;
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteBusiness.java
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteHome.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteHome.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteHome.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.EJBHome;
+
+/**
+ * 
+ * A StatefulRemoteHome.
+ * 
+ * @author <a href="andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision:  $
+ */
+public interface StatefulRemoteHome extends EJBHome
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatefulRemoteHome.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -23,14 +23,14 @@
 
 import javax.annotation.PostConstruct;
 import javax.annotation.Resource;
-
 import javax.ejb.EJBLocalObject;
 import javax.ejb.EJBObject;
 import javax.ejb.Local;
+import javax.ejb.LocalHome;
 import javax.ejb.Remote;
+import javax.ejb.RemoteHome;
 import javax.ejb.SessionContext;
 import javax.ejb.Stateless;
-
 import javax.naming.InitialContext;
 
 import org.jboss.annotation.ejb.LocalBinding;
@@ -45,12 +45,14 @@
  * @version $Revision$
  */
 @Stateless(name="Stateless")
- at Local(StatelessLocal.class)
- at Remote(org.jboss.ejb3.test.ejbcontext.Stateless.class)
+ at LocalHome(StatelessLocalHome.class)
+ at RemoteHome(StatelessRemoteHome.class)
+ at Local({StatelessLocalBusiness.class,StatelessLocal.class})
+ at Remote({org.jboss.ejb3.test.ejbcontext.Stateless.class,StatelessRemote.class})
 @LocalBinding(jndiBinding = "StatelessLocal")
 @RemoteBinding(jndiBinding = "Stateless")
 public class StatelessBean extends BaseBean
-   implements org.jboss.ejb3.test.ejbcontext.Stateless, StatelessLocal
+   implements org.jboss.ejb3.test.ejbcontext.Stateless, StatelessLocalBusiness
 {
    @SuppressWarnings("unused")
    private static final Logger log = Logger.getLogger(StatelessBean.class);
@@ -58,7 +60,7 @@
    @Resource
    SessionContext sessionContext;
    
-   StatelessLocal ejbLocalObject;
+   StatelessLocalBusiness ejbLocalObject;
    org.jboss.ejb3.test.ejbcontext.Stateless ejbObject;
    
    public void noop()
@@ -116,7 +118,7 @@
    @PostConstruct
    public void postConstruct()
    {
-      ejbLocalObject = (StatelessLocal)sessionContext.getEJBLocalObject();
+      ejbLocalObject = (StatelessLocalBusiness)sessionContext.getEJBLocalObject();
       ejbObject = (org.jboss.ejb3.test.ejbcontext.Stateless)sessionContext.getEJBObject();
    }
 

Deleted: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.test.ejbcontext;
-
-
-
-/**
- * Comment
- *
- * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
- * @version $Revision$
- */
-public interface StatelessLocal
-{
-   public void testEjbContextLookup() throws Exception;
-
-   public Class testInvokedBusinessInterface() throws Exception;
-
-   public void testEjbObject() throws Exception;
-
-   public void testEjbLocalObject() throws Exception;
-
-   public void noop();
-   
-}

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,14 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.EJBLocalObject;
+
+public interface StatelessLocal extends EJBLocalObject
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Copied: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalBusiness.java (from rev 66223, trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocal.java)
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalBusiness.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalBusiness.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ * @version $Revision$
+ */
+public interface StatelessLocalBusiness
+{
+   public void testEjbContextLookup() throws Exception;
+
+   public Class testInvokedBusinessInterface() throws Exception;
+
+   public void testEjbObject() throws Exception;
+
+   public void testEjbLocalObject() throws Exception;
+
+   public void noop();
+   
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalBusiness.java
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalHome.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalHome.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalHome.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.EJBLocalHome;
+
+/**
+ * 
+ * A StatelessLocalHome.
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: 1.1 $
+ */
+public interface StatelessLocalHome extends EJBLocalHome
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessLocalHome.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemote.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemote.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemote.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.EJBObject;
+
+/**
+ * 
+ * A StatelessRemote.
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: 1.1 $
+ */
+public interface StatelessRemote extends EJBObject
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemote.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemoteHome.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemoteHome.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemoteHome.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.ejbcontext;
+
+import javax.ejb.EJBHome;
+
+/**
+ * 
+ * A StatelessRemoteHome.
+ * 
+ * @author @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: 1.1 $
+ */
+public interface StatelessRemoteHome extends EJBHome
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/StatelessRemoteHome.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/unit/EjbContextUnitTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/unit/EjbContextUnitTestCase.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/ejbcontext/unit/EjbContextUnitTestCase.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -24,7 +24,7 @@
 import javax.ejb.EJBException;
 
 import org.jboss.ejb3.test.ejbcontext.Stateful;
-import org.jboss.ejb3.test.ejbcontext.StatefulRemote;
+import org.jboss.ejb3.test.ejbcontext.StatefulRemoteBusiness;
 import org.jboss.ejb3.test.ejbcontext.Stateless;
 import org.jboss.logging.Logger;
 import org.jboss.test.JBossTestCase;
@@ -150,16 +150,16 @@
    public void testStatefulInvokedBusinessInterface() throws Exception
    {
       Stateful stateful1 = (Stateful)getInitialContext().lookup("Stateful");
-      StatefulRemote stateful2 = (StatefulRemote)getInitialContext().lookup("StatefulRemote");
+      StatefulRemoteBusiness stateful2 = (StatefulRemoteBusiness)getInitialContext().lookup("StatefulRemote");
       
       Class interfc = stateful1.testInvokedBusinessInterface();
       assertEquals(interfc, Stateful.class);
       
       interfc = stateful2.testInvokedBusinessInterface2();
-      assertEquals(interfc, StatefulRemote.class);
+      assertEquals(interfc, StatefulRemoteBusiness.class);
       
       interfc = stateful1.testLocalInvokedBusinessInterface();
-      assertEquals(interfc, StatefulRemote.class);
+      assertEquals(interfc, StatefulRemoteBusiness.class);
       
       stateful1.setState("same");
       Stateful stateful3 = (Stateful)stateful1.getBusinessObject();
@@ -200,7 +200,7 @@
    
    public void testLocalOnlyGetBusinessObject() throws Exception
    {
-	   StatefulRemote sfsb = (StatefulRemote)getInitialContext().lookup("StatefulRemote");
+	   StatefulRemoteBusiness sfsb = (StatefulRemoteBusiness)getInitialContext().lookup("StatefulRemote");
 	   Object o = sfsb.testLocalOnlyGetBusinessObject();
 	   assertNotNull(o);
    }

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatefulBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatefulBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatefulBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -33,11 +33,11 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateful
- at Remote(RemoteInterface.class)
+ at Remote({RemoteBusinessInterface.class,RemoteInterface.class})
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local({LocalBusinessInterface.class,LocalInterface.class})
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class DefaultStatefulBean implements RemoteInterface, LocalInterface
+public class DefaultStatefulBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(DefaultStatefulBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatelessBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DefaultStatelessBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -33,11 +33,11 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateless
- at Remote(RemoteInterface.class)
+ at Remote({RemoteBusinessInterface.class,RemoteInterface.class})
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local({LocalBusinessInterface.class,LocalInterface.class})
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class DefaultStatelessBean implements RemoteInterface, LocalInterface
+public class DefaultStatelessBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(DefaultStatelessBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatefulBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatefulBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatefulBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -33,11 +33,11 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateful
- at Remote(RemoteInterface.class)
+ at Remote({RemoteBusinessInterface.class,RemoteInterface.class})
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local({LocalBusinessInterface.class,LocalInterface.class})
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class DescriptorStatefulBean implements RemoteInterface, LocalInterface
+public class DescriptorStatefulBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(DescriptorStatefulBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatelessBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DescriptorStatelessBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -33,11 +33,11 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateless
- at Remote(RemoteInterface.class)
+ at Remote({RemoteBusinessInterface.class,RemoteInterface.class})
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local({LocalBusinessInterface.class,LocalInterface.class})
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class DescriptorStatelessBean implements RemoteInterface, LocalInterface
+public class DescriptorStatelessBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(DescriptorStatelessBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatefulBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatefulBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatefulBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -38,15 +38,17 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateful
- at Remote(RemoteInterface.class)
+ at Remote(
+{RemoteBusinessInterface.class, RemoteInterface.class})
 @RemoteBinding(jndiBinding="DuplicateStateful")
 @RemoteHomeBinding(jndiBinding="DuplicateStateful")
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local(
+{LocalBusinessInterface.class, LocalInterface.class})
 @LocalBinding(jndiBinding="DuplicateStatefulLocal")
 @LocalHomeBinding(jndiBinding="DuplicateStatefulLocal")
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class DuplicateStatefulBean implements RemoteInterface, LocalInterface
+public class DuplicateStatefulBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(DuplicateStatefulBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatelessBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/DuplicateStatelessBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -38,15 +38,17 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateless
- at Remote(RemoteInterface.class)
+ at Remote(
+      {RemoteBusinessInterface.class, RemoteInterface.class})
 @RemoteBinding(jndiBinding="DuplicateStateless")
 @RemoteHomeBinding(jndiBinding="DuplicateStateless")
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local(
+{LocalBusinessInterface.class, LocalInterface.class})
 @LocalBinding(jndiBinding="DuplicateStatelessLocal")
 @LocalHomeBinding(jndiBinding="DuplicateStatelessLocal")
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class DuplicateStatelessBean implements RemoteInterface, LocalInterface
+public class DuplicateStatelessBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(DuplicateStatelessBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatefulBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatefulBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatefulBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -38,15 +38,17 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateful
- at Remote(RemoteInterface.class)
+ at Remote(
+      {RemoteBusinessInterface.class, RemoteInterface.class})
 @RemoteBinding(jndiBinding="ExplicitStatefulRemote")
 @RemoteHomeBinding(jndiBinding="ExplicitStatefulHome")
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local(
+{LocalBusinessInterface.class, LocalInterface.class})
 @LocalBinding(jndiBinding="ExplicitStatefulLocal")
 @LocalHomeBinding(jndiBinding="ExplicitStatefulLocalHome")
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class ExplicitStatefulBean implements RemoteInterface, LocalInterface
+public class ExplicitStatefulBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(ExplicitStatefulBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatelessBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatelessBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/ExplicitStatelessBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -38,15 +38,15 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateless
- at Remote(RemoteInterface.class)
+ at Remote({RemoteBusinessInterface.class,RemoteInterface.class})
 @RemoteBinding(jndiBinding="ExplicitStatelessRemote")
 @RemoteHomeBinding(jndiBinding="ExplicitStatelessHome")
 @RemoteHome(Home.class)
- at Local(LocalInterface.class)
+ at Local({LocalBusinessInterface.class,LocalInterface.class})
 @LocalBinding(jndiBinding="ExplicitStatelessLocal")
 @LocalHomeBinding(jndiBinding="ExplicitStatelessLocalHome")
 @LocalHome(org.jboss.ejb3.test.homeinterface.LocalHome.class)
-public class ExplicitStatelessBean implements RemoteInterface, LocalInterface
+public class ExplicitStatelessBean implements RemoteBusinessInterface, LocalBusinessInterface
 {
    private static final Logger log = Logger.getLogger(ExplicitStatelessBean.class);
     

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/Home.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/Home.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/Home.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -28,6 +28,6 @@
  */
 public interface Home extends EJBHome {
     
-  public RemoteInterface create() throws java.rmi.RemoteException, javax.ejb.CreateException;
+  public RemoteBusinessInterface create() throws java.rmi.RemoteException, javax.ejb.CreateException;
 } 
 

Copied: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalBusinessInterface.java (from rev 66175, trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java)
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalBusinessInterface.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalBusinessInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.homeinterface;
+
+/**
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public interface LocalBusinessInterface
+{
+   void testLocal();
+}

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalHome.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalHome.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalHome.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -28,6 +28,6 @@
  */
 public interface LocalHome extends EJBHome {
     
-  public LocalInterface create() throws java.rmi.RemoteException, javax.ejb.CreateException;
+  public LocalBusinessInterface create() throws java.rmi.RemoteException, javax.ejb.CreateException;
 } 
 

Deleted: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -1,30 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.test.homeinterface;
-
-/**
- * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
- */
-public interface LocalInterface
-{
-   void testLocal();
-}

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.homeinterface;
+
+import javax.ejb.EJBLocalObject;
+
+/**
+ * 
+ * A LocalInterface.
+ * 
+ * @author @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: 1.1 $
+ */
+public interface LocalInterface extends EJBLocalObject
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/LocalInterface.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Copied: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteBusinessInterface.java (from rev 66175, trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java)
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteBusinessInterface.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteBusinessInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.homeinterface;
+
+/**
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public interface RemoteBusinessInterface
+{
+   void test();
+}

Deleted: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -1,30 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.test.homeinterface;
-
-/**
- * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
- */
-public interface RemoteInterface
-{
-   void test();
-}

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,21 @@
+/*
+ * JBoss, the OpenSource J2EE webOS
+ * 
+ * Distributable under LGPL license.
+ * See terms of license at gnu.org.
+ */
+package org.jboss.ejb3.test.homeinterface;
+
+import javax.ejb.EJBObject;
+
+/**
+ * 
+ * A RemoteInterface.
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: 1.1 $
+ */
+public interface RemoteInterface extends EJBObject
+{
+
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/RemoteInterface.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/TestBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/TestBean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/TestBean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -47,10 +47,10 @@
    {
 	   InitialContext jndiContext = new InitialContext();
 	   LocalHome home = (LocalHome)jndiContext.lookup("DefaultStatelessBean/localHome");
-	   LocalInterface local = home.create();
+	   LocalBusinessInterface local = home.create();
 	   local.testLocal();
 	   
-	   local = (LocalInterface)jndiContext.lookup("DefaultStatelessBean/local");
+	   local = (LocalBusinessInterface)jndiContext.lookup("DefaultStatelessBean/local");
 	   local.testLocal();
    }
    
@@ -58,10 +58,10 @@
    {
 	   InitialContext jndiContext = new InitialContext();
 	   LocalHome home = (LocalHome)jndiContext.lookup("ExplicitStatelessLocalHome");
-	   LocalInterface local = home.create();
+	   LocalBusinessInterface local = home.create();
 	   local.testLocal();
 	   
-	   local = (LocalInterface)jndiContext.lookup("ExplicitStatelessLocal");
+	   local = (LocalBusinessInterface)jndiContext.lookup("ExplicitStatelessLocal");
 	   local.testLocal();
    }
    
@@ -69,10 +69,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       LocalHome home = (LocalHome)jndiContext.lookup("DescriptorStatelessLocalHome");
-      LocalInterface local = home.create();
+      LocalBusinessInterface local = home.create();
       local.testLocal();
       
-      local = (LocalInterface)jndiContext.lookup("DescriptorStatelessBean/local");
+      local = (LocalBusinessInterface)jndiContext.lookup("DescriptorStatelessBean/local");
       local.testLocal();
    }
    
@@ -80,10 +80,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       LocalHome home = (LocalHome)jndiContext.lookup("DefaultStatefulBean/localHome");
-      LocalInterface local = home.create();
+      LocalBusinessInterface local = home.create();
       local.testLocal();
       
-      local = (LocalInterface)jndiContext.lookup("DefaultStatefulBean/local");
+      local = (LocalBusinessInterface)jndiContext.lookup("DefaultStatefulBean/local");
       local.testLocal();
    }
    
@@ -91,10 +91,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       LocalHome home = (LocalHome)jndiContext.lookup("ExplicitStatefulLocalHome");
-      LocalInterface local = home.create();
+      LocalBusinessInterface local = home.create();
       local.testLocal();
       
-      local = (LocalInterface)jndiContext.lookup("ExplicitStatefulLocal");
+      local = (LocalBusinessInterface)jndiContext.lookup("ExplicitStatefulLocal");
       local.testLocal();
    }
    
@@ -102,10 +102,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       LocalHome home = (LocalHome)jndiContext.lookup("DescriptorStatefulLocalHome");
-      LocalInterface local = home.create();
+      LocalBusinessInterface local = home.create();
       local.testLocal();
       
-      local = (LocalInterface)jndiContext.lookup("DescriptorStatefulBean/local");
+      local = (LocalBusinessInterface)jndiContext.lookup("DescriptorStatefulBean/local");
       local.testLocal();
    }
    
@@ -113,10 +113,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       LocalHome home = (LocalHome)jndiContext.lookup("DuplicateStatelessLocal");
-      LocalInterface local = home.create();
+      LocalBusinessInterface local = home.create();
       local.testLocal();
       
-      local = (LocalInterface)jndiContext.lookup("DuplicateStatelessLocal");
+      local = (LocalBusinessInterface)jndiContext.lookup("DuplicateStatelessLocal");
       local.testLocal();
    }
    
@@ -124,10 +124,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       LocalHome home = (LocalHome)jndiContext.lookup("DuplicateStatefulLocal");
-      LocalInterface local = home.create();
+      LocalBusinessInterface local = home.create();
       local.testLocal();
       
-      local = (LocalInterface)jndiContext.lookup("DuplicateStatefulLocal");
+      local = (LocalBusinessInterface)jndiContext.lookup("DuplicateStatefulLocal");
       local.testLocal();
    }
 

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/unit/HomeTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/unit/HomeTestCase.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/homeinterface/unit/HomeTestCase.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -46,10 +46,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("DefaultStatelessBean/home");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("DefaultStatelessBean/remote");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("DefaultStatelessBean/remote");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");
@@ -60,10 +60,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("ExplicitStatelessHome");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("ExplicitStatelessRemote");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("ExplicitStatelessRemote");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");
@@ -74,10 +74,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("DescriptorStatelessHome");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("DescriptorStatelessBean/remote");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("DescriptorStatelessBean/remote");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");
@@ -88,10 +88,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("DefaultStatefulBean/home");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("DefaultStatefulBean/remote");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("DefaultStatefulBean/remote");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");
@@ -102,10 +102,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("ExplicitStatefulHome");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("ExplicitStatefulRemote");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("ExplicitStatefulRemote");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");
@@ -116,10 +116,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("DescriptorStatefulHome");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("DescriptorStatefulBean/remote");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("DescriptorStatefulBean/remote");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");
@@ -130,10 +130,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("DuplicateStateful");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("DuplicateStateful");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("DuplicateStateful");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");
@@ -144,10 +144,10 @@
    {
       InitialContext jndiContext = new InitialContext();
       Home home = (Home)jndiContext.lookup("DuplicateStateless");
-      RemoteInterface remote = home.create();
+      RemoteBusinessInterface remote = home.create();
       remote.test();
       
-      remote = (RemoteInterface)jndiContext.lookup("DuplicateStateless");
+      remote = (RemoteBusinessInterface)jndiContext.lookup("DuplicateStateless");
       remote.test();
       
       Test test = (Test)jndiContext.lookup("TestBean/remote");

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/GlobalSession30Bean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/GlobalSession30Bean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/GlobalSession30Bean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -33,7 +33,7 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateless(name="GlobalSession30")
- at Remote(Session30.class)
+ at Remote(Session30RemoteBusiness.class)
 @RemoteBinding(jndiBinding = "GlobalSession30Remote")
 public class GlobalSession30Bean 
 {

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/HomedStatefulSession30Bean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/HomedStatefulSession30Bean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/HomedStatefulSession30Bean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -40,7 +40,7 @@
 @Stateful(name="HomedStatefulSession30")
 @RemoteHome(StatefulSession30Home.class)
 @LocalHome(StatefulSession30LocalHome.class)
- at Local(LocalStatefulSession30.class)
+ at Local({LocalStatefulSession30Business.class,LocalStatefulSession30.class})
 @Remote(StatefulSession30.class)
 @RemoteBinding(jndiBinding = "HomedStatefulSession30Remote")
 @LocalBinding(jndiBinding = "HomedLocalStatefulSession30")

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalSession30.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalSession30.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalSession30.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -23,11 +23,13 @@
 
 import java.rmi.*;
 
+import javax.ejb.EJBLocalObject;
+
 /**
  * @version <tt>$Revision$</tt>
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
-public interface LocalSession30 
+public interface LocalSession30 extends EJBLocalObject
 {
    public String access();
 }

Deleted: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -1,36 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.test.reference21_30;
-
-import java.rmi.*;
-
-/**
- * @version <tt>$Revision$</tt>
- * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
- */
-public interface LocalStatefulSession30 
-{
-   public String getLocalValue();
-   
-   public void setLocalValue(String value);
-}
-

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.reference21_30;
+
+import javax.ejb.EJBLocalObject;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public interface LocalStatefulSession30 extends EJBLocalObject
+{
+   public String getLocalValue();
+
+   public void setLocalValue(String value);
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Copied: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30Business.java (from rev 66175, trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30.java)
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30Business.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30Business.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.reference21_30;
+
+import java.rmi.*;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public interface LocalStatefulSession30Business 
+{
+   public String getLocalValue();
+   
+   public void setLocalValue(String value);
+}
+


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/LocalStatefulSession30Business.java
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30Bean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30Bean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30Bean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -86,7 +86,7 @@
       try {
          InitialContext jndiContext = new InitialContext();
          StatefulSession30LocalHome localHome = (StatefulSession30LocalHome)jndiContext.lookup("StatefulSession30/localHome");
-         LocalStatefulSession30 localSession = localHome.create();
+         LocalStatefulSession30Business localSession = localHome.create();
          return localSession.getLocalValue();
       } catch (Exception e)
       {
@@ -100,7 +100,7 @@
       try {
          InitialContext jndiContext = new InitialContext();
          StatefulSession30LocalHome localHome = (StatefulSession30LocalHome)jndiContext.lookup("StatefulSession30/localHome");
-         LocalStatefulSession30 localSession = localHome.create(value);
+         LocalStatefulSession30Business localSession = localHome.create(value);
          return localSession.getLocalValue();
       } catch (Exception e)
       {
@@ -114,7 +114,7 @@
       try {
          InitialContext jndiContext = new InitialContext();
          StatefulSession30LocalHome localHome = (StatefulSession30LocalHome)jndiContext.lookup("StatefulSession30/localHome");
-         LocalStatefulSession30 localSession = localHome.create(value, suffix);
+         LocalStatefulSession30Business localSession = localHome.create(value, suffix);
          return localSession.getLocalValue();
       } catch (Exception e)
       {

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30RemoteBusiness.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30RemoteBusiness.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30RemoteBusiness.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.reference21_30;
+
+import javax.ejb.EJBObject;
+
+/**
+ * @version <tt>$Revision: 61136 $</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public interface Session30RemoteBusiness extends EJBObject
+{
+   String access();
+   
+   String access21();
+   
+   String globalAccess21();
+   
+   String accessLocalStateful();
+   
+   String accessLocalStateful(String value);
+   
+   String accessLocalStateful(String value, Integer suffix);
+}
+


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/Session30RemoteBusiness.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30Bean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30Bean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30Bean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -36,7 +36,7 @@
  * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  */
 @Stateful(name="StatefulSession30")
- at Local(LocalStatefulSession30.class)
+ at Local({LocalStatefulSession30Business.class, LocalStatefulSession30.class})
 @Remote(StatefulSession30.class)
 @RemoteBinding(jndiBinding = "StatefulSession30Remote")
 @LocalBinding(jndiBinding = "LocalStatefulSession30")
@@ -86,7 +86,7 @@
       {
          InitialContext jndiContext = new InitialContext();
          StatefulSession30LocalHome home = (StatefulSession30LocalHome)jndiContext.lookup("HomedStatefulSession30/localHome");
-         LocalStatefulSession30 session = (LocalStatefulSession30)home.create();
+         LocalStatefulSession30Business session = (LocalStatefulSession30Business)home.create();
          session.setLocalValue("LocalHome");
          return session.getLocalValue();
       } catch (Exception e)

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30LocalHome.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30LocalHome.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/reference21_30/StatefulSession30LocalHome.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -30,10 +30,10 @@
  */
 public interface StatefulSession30LocalHome extends EJBLocalHome {
     
-  public LocalStatefulSession30 create() throws javax.ejb.CreateException;
+  public LocalStatefulSession30Business create() throws javax.ejb.CreateException;
   
-  public LocalStatefulSession30 create(String value) throws javax.ejb.CreateException;
+  public LocalStatefulSession30Business create(String value) throws javax.ejb.CreateException;
   
-  public LocalStatefulSession30 create(String value, Integer suffix) throws javax.ejb.CreateException;
+  public LocalStatefulSession30Business create(String value, Integer suffix) throws javax.ejb.CreateException;
 } 
 

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3Bean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3Bean.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3Bean.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -36,11 +36,11 @@
  */
 @WebService(name = "EndpointInterface", targetNamespace = "http://www.openuri.org/2004/04/HelloWorld", serviceName = "TestService")
 @SOAPBinding(style = SOAPBinding.Style.RPC)
- at Remote(EJB3RemoteInterface.class)
+ at Remote({EJB3RemoteBusinessInterface.class,EJB3RemoteInterface.class})
 @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface")
 @RemoteHome(RemoteHomeInterface.class)
 @Stateless
-public class EJB3Bean implements EJB3RemoteInterface
+public class EJB3Bean implements EJB3RemoteBusinessInterface
 {
    @WebMethod
    public String echo(String input)

Copied: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteBusinessInterface.java (from rev 66175, trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java)
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteBusinessInterface.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteBusinessInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,33 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.webservices.jsr181;
+
+/**
+ * An EJB3 remote interface
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 10-May-2005
+ */
+public interface EJB3RemoteBusinessInterface
+{
+   String echo(String input);
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteBusinessInterface.java
___________________________________________________________________
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Deleted: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -1,33 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.jboss.ejb3.test.webservices.jsr181;
-
-/**
- * An EJB3 remote interface
- *
- * @author Thomas.Diesler at jboss.org
- * @since 10-May-2005
- */
-public interface EJB3RemoteInterface
-{
-   String echo(String input);
-}

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -0,0 +1,35 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.ejb3.test.webservices.jsr181;
+
+import javax.ejb.EJBObject;
+
+/**
+ * An EJB3 remote interface
+ *
+ * @author Thomas.Diesler at jboss.org
+ * @since 10-May-2005
+ */
+public interface EJB3RemoteInterface extends EJBObject
+{
+   String echo(String input);
+}


Property changes on: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/EJB3RemoteInterface.java
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:keywords
   + Author Date Id Revision
Name: svn:eol-style
   + native

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/RemoteHomeInterface.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/RemoteHomeInterface.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/jsr181/RemoteHomeInterface.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -28,6 +28,6 @@
  */
 public interface RemoteHomeInterface extends EJBHome {
     
-  public EJB3RemoteInterface create() throws java.rmi.RemoteException, javax.ejb.CreateException;
+  public EJB3RemoteBusinessInterface create() throws java.rmi.RemoteException, javax.ejb.CreateException;
 } 
 

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/unit/JSR181TestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/unit/JSR181TestCase.java	2007-10-18 17:27:43 UTC (rev 66255)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/webservices/unit/JSR181TestCase.java	2007-10-18 17:39:09 UTC (rev 66256)
@@ -22,7 +22,7 @@
 package org.jboss.ejb3.test.webservices.unit;
 
 import junit.framework.Test;
-import org.jboss.ejb3.test.webservices.jsr181.EJB3RemoteInterface;
+import org.jboss.ejb3.test.webservices.jsr181.EJB3RemoteBusinessInterface;
 import org.jboss.ejb3.test.webservices.jsr181.EndpointInterface;
 import org.jboss.ejb3.test.webservices.jsr181.NarrowableEJB3RemoteHomeInterface;
 import org.jboss.ejb3.test.webservices.jsr181.NarrowableEJB3RemoteInterface;
@@ -51,7 +51,7 @@
    public void testRemoteAccess() throws Exception
    {
       InitialContext iniCtx = getInitialContext();
-      EJB3RemoteInterface ejb3Remote = (EJB3RemoteInterface)iniCtx.lookup("/ejb3/EJB3EndpointInterface");
+      EJB3RemoteBusinessInterface ejb3Remote = (EJB3RemoteBusinessInterface)iniCtx.lookup("/ejb3/EJB3EndpointInterface");
 
       String helloWorld = "Hello world!";
       Object retObj = ejb3Remote.echo(helloWorld);
@@ -62,7 +62,7 @@
    {
       InitialContext iniCtx = getInitialContext();
       RemoteHomeInterface home = (RemoteHomeInterface)iniCtx.lookup("EJB3Bean/home");
-      EJB3RemoteInterface ejb3Remote = home.create();
+      EJB3RemoteBusinessInterface ejb3Remote = home.create();
 
       String helloWorld = "Hello world!";
       Object retObj = ejb3Remote.echo(helloWorld);




More information about the jboss-cvs-commits mailing list