[jboss-cvs] JBossAS SVN: r66144 - trunk/ejb3/src/test/org/jboss/ejb3/test/security.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 15 18:48:29 EDT 2007


Author: ALRubinger
Date: 2007-10-15 18:48:29 -0400 (Mon, 15 Oct 2007)
New Revision: 66144

Added:
   trunk/ejb3/src/test/org/jboss/ejb3/test/security/StatelessSessionRemote.java
Modified:
   trunk/ejb3/src/test/org/jboss/ejb3/test/security/CalleeBean.java
Log:
EJBTHREE-1063: CalleeBean cannot have @Local and @Remote be same interface, spec violation EJB 3.0 4.6.6 Bullet 5.4

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/security/CalleeBean.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/security/CalleeBean.java	2007-10-15 22:43:43 UTC (rev 66143)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/security/CalleeBean.java	2007-10-15 22:48:29 UTC (rev 66144)
@@ -46,7 +46,7 @@
  */
 @Stateless(name="CalleeBean")
 @Local(org.jboss.ejb3.test.security.StatelessSessionLocal.class)
- at Remote(org.jboss.ejb3.test.security.StatelessSessionLocal.class)
+ at Remote(org.jboss.ejb3.test.security.StatelessSessionRemote.class)
 @LocalBinding(jndiBinding = "spec.CalleeBean")
 @RemoteBinding(jndiBinding = "spec.CalleeBeanRemote")
 @SecurityDomain("spec-test")

Added: trunk/ejb3/src/test/org/jboss/ejb3/test/security/StatelessSessionRemote.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/security/StatelessSessionRemote.java	                        (rev 0)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/security/StatelessSessionRemote.java	2007-10-15 22:48:29 UTC (rev 66144)
@@ -0,0 +1,42 @@
+/*
+ * 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.security;
+
+
+/** 
+ * A simple remote statleess session interface.
+ * 
+ * @author Scott.Stark at jboss.org
+ * @author <a href="mailto:andrew.rubinger at redhat.com">AR</a>
+ * @version $Revision:  $
+ */
+public interface StatelessSessionRemote
+{
+   /** Basic test that has no arguments or return values to test the
+    bare call invocation overhead without any data serialize.
+    */
+   public void noop();
+   /** Basic test that has both argument serialization and return
+    value serialization.
+    */
+   public String echo(String arg);
+}


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




More information about the jboss-cvs-commits mailing list