[jboss-cvs] JBossAS SVN: r79441 - in projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation: jbmeta99 and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Oct 13 23:07:39 EDT 2008


Author: ALRubinger
Date: 2008-10-13 23:07:39 -0400 (Mon, 13 Oct 2008)
New Revision: 79441

Added:
   projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessRemote.java
   projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessRemote.java
Modified:
   projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessBean.java
   projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessBean.java
Log:
[JBMETA-117] Fix regressions in the TestSuite addressed by @RemoteBindings w/ no associated remote business interface validation introduction

Modified: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessBean.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessBean.java	2008-10-14 03:06:37 UTC (rev 79440)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessBean.java	2008-10-14 03:07:39 UTC (rev 79441)
@@ -49,7 +49,6 @@
 
 import org.jboss.ejb3.annotation.LocalBinding;
 import org.jboss.ejb3.annotation.RemoteBinding;
-import org.jboss.ejb3.annotation.RemoteBindings;
 
 /**
  * Comment
@@ -71,7 +70,7 @@
 @RunAs("InternalUser")
 @Interceptors(TestClassInterceptor.class)
 @ExcludeDefaultInterceptors
-public class MyStatelessBean implements MyStatelessLocal
+public class MyStatelessBean implements MyStatelessLocal, MyStatelessRemote
 {
    @EJB
    private MyStatelessLocal injectedField;

Added: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessRemote.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessRemote.java	                        (rev 0)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/ejb3/MyStatelessRemote.java	2008-10-14 03:07:39 UTC (rev 79441)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.test.metadata.annotation.ejb3;
+
+import javax.ejb.Remote;
+
+/**
+ * MyStatelessRemote
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+ at Remote
+public interface MyStatelessRemote
+{
+
+}

Modified: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessBean.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessBean.java	2008-10-14 03:06:37 UTC (rev 79440)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessBean.java	2008-10-14 03:07:39 UTC (rev 79441)
@@ -34,7 +34,6 @@
 import javax.annotation.security.RunAs;
 import javax.ejb.EJB;
 import javax.ejb.SessionContext;
-import javax.ejb.Stateless;
 import javax.ejb.Timeout;
 import javax.ejb.Timer;
 import javax.ejb.TransactionAttribute;
@@ -49,7 +48,6 @@
 
 import org.jboss.ejb3.annotation.LocalBinding;
 import org.jboss.ejb3.annotation.RemoteBinding;
-import org.jboss.ejb3.annotation.RemoteBindings;
 
 /**
  * Comment
@@ -71,7 +69,7 @@
 @RunAs("InternalUser")
 @Interceptors(TestClassInterceptor.class)
 @ExcludeDefaultInterceptors
-public class MyStatelessBean implements MyStatelessLocal
+public class MyStatelessBean implements MyStatelessLocal, MyStatelessRemote
 {
    @EJB
    private MyStatelessLocal injectedField;

Added: projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessRemote.java
===================================================================
--- projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessRemote.java	                        (rev 0)
+++ projects/metadata/trunk/src/test/java/org/jboss/test/metadata/annotation/jbmeta99/MyStatelessRemote.java	2008-10-14 03:07:39 UTC (rev 79441)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.test.metadata.annotation.jbmeta99;
+
+import javax.ejb.Remote;
+
+/**
+ * MyStatelessRemote
+ *
+ * @author <a href="mailto:andrew.rubinger at jboss.org">ALR</a>
+ * @version $Revision: $
+ */
+ at Remote
+public interface MyStatelessRemote
+{
+
+}




More information about the jboss-cvs-commits mailing list