[jboss-cvs] JBossAS SVN: r99722 - in projects/ejb3/components/nointerface/trunk: impl and 6 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 21 06:54:54 EST 2010


Author: jaikiran
Date: 2010-01-21 06:54:54 -0500 (Thu, 21 Jan 2010)
New Revision: 99722

Added:
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/AbstractSimpleBase.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/ChildBean.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateful.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateless.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSFSBeanWithoutInterfaces.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSLSBWithoutInterface.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulBeanWithInterfaces.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulLocalBeanWithInterfaces.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessBeanWithInterfaces.java
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessLocalBeanWithInterfaces.java
Removed:
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/test/factory/
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/test/viewcreator/
Modified:
   projects/ejb3/components/nointerface/trunk/build/pom.xml
   projects/ejb3/components/nointerface/trunk/impl/pom.xml
   projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/unit/NoInterfaceViewFactoryTestCase.java
Log:
EJBTHREE-1989 Refactoring of the no-interface component code (moved the tests to a proper package)

Modified: projects/ejb3/components/nointerface/trunk/build/pom.xml
===================================================================
--- projects/ejb3/components/nointerface/trunk/build/pom.xml	2010-01-21 10:17:51 UTC (rev 99721)
+++ projects/ejb3/components/nointerface/trunk/build/pom.xml	2010-01-21 11:54:54 UTC (rev 99722)
@@ -79,7 +79,6 @@
                         <include>**/*TestSuite.java</include>
                     </includes>
                     <forkMode>always</forkMode>
-                    <reportFormat>xml</reportFormat>
                 </configuration>
             </plugin>
 

Modified: projects/ejb3/components/nointerface/trunk/impl/pom.xml
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/pom.xml	2010-01-21 10:17:51 UTC (rev 99721)
+++ projects/ejb3/components/nointerface/trunk/impl/pom.xml	2010-01-21 11:54:54 UTC (rev 99722)
@@ -32,74 +32,6 @@
         <version.metadata_ear>2.0.0.Alpha</version.metadata_ear>
     </properties>
 
-    <build>
-
-
-        <plugins>
-            <!--
-                We have a dependency on @LocalBean which comes from
-                ejb3-api (=JDK6)
-            -->
-            <plugin>
-                <artifactId>maven-enforcer-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>enforce-jdk6</id>
-                        <goals>
-                            <goal>enforce</goal>
-                        </goals>
-                        <configuration>
-                            <rules>
-                                <requireProperty>
-                                    <property>env.JDK6_HOME</property>
-                                    <message>JDK6_HOME is not
-                                        set</message>
-                                </requireProperty>
-                            </rules>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-
-                    <!-- Use Java6 -->
-                    <forkMode>once</forkMode>
-                    <jvm>${JDK6_HOME}/bin/java</jvm>
-                    <argLine>-Dxb.builder.useUnorderedSequence=true</argLine>
-                </configuration>
-            </plugin>
-
-
-            <plugin>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.6</source>
-                    <target>1.6</target>
-                    <executable>${JDK6_HOME}/bin/javac</executable>
-                </configuration>
-            </plugin>
-
-            <!-- Code coverage tool -->
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>cobertura-maven-plugin</artifactId>
-                <!--
-                    version 2.0 is intentional since other (later)
-                    version seems to generate reports showing 0%
-                    coverage for all
-                -->
-                <version>2.0</version>
-            </plugin>
-
-        </plugins>
-
-    </build>
-
-
     <!-- Dependencies -->
     <dependencies>
 

Copied: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory (from rev 99590, projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/test/factory)

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/AbstractSimpleBase.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/AbstractSimpleBase.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/AbstractSimpleBase.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.nointerface.impl.test.factory;
+
+/**
+ * AbstractSimpleBase
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+public abstract class AbstractSimpleBase
+{
+
+   private String someString;
+
+   public String sayHiFromBase(String user)
+   {
+      return "Hi from base, to user " + user;
+   }
+
+   public static void someStaticMethod()
+   {
+      // do nothing
+   }
+
+   @Override
+   public String toString()
+   {
+      return "AbstractSimpleBase";
+   }
+
+   public abstract String sayHiFromChild(String name);
+
+   public final void someFinalMethod()
+   {
+
+   }
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/AbstractSimpleBase.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/ChildBean.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/ChildBean.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/ChildBean.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.nointerface.impl.test.factory;
+
+import javax.ejb.Stateless;
+
+/**
+ * ChildBean
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+ at Stateless
+public class ChildBean extends AbstractSimpleBase
+{
+
+   @Override
+   public String sayHiFromChild(String name)
+   {
+      return "Hi from " + ChildBean.class.getName() + " to user " + name;
+   }
+
+   private void somePrivateMethod()
+   {
+      // do nothing
+   }
+
+
+   public int echoNumberFromChild(int number)
+   {
+      return number;
+   }
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/ChildBean.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateful.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateful.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateful.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,15 @@
+/**
+ * 
+ */
+package org.jboss.ejb3.nointerface.impl.test.factory;
+
+/**
+ * MyStateful
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+public interface MyStateful
+{
+   int getNextCounter();
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateful.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateless.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateless.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateless.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,16 @@
+/**
+ * 
+ */
+package org.jboss.ejb3.nointerface.impl.test.factory;
+
+/**
+ * MyStateless
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+public interface MyStateless
+{
+   public String sayHello(String name);
+
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/MyStateless.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSFSBeanWithoutInterfaces.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSFSBeanWithoutInterfaces.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSFSBeanWithoutInterfaces.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.nointerface.impl.test.factory;
+
+import java.io.Externalizable;
+import java.io.IOException;
+import java.io.ObjectInput;
+import java.io.ObjectOutput;
+import java.io.Serializable;
+
+import javax.ejb.Stateful;
+
+/**
+ * SimpleSFSBeanWithoutInterfaces
+ * 
+ * Used in testing of no-interface view. Although the name suggests
+ * this bean does not implement any interfaces, it does however implement
+ * {@link Serializable} and {@link Externalizable} which are allowed by 
+ * spec for no-interface view.
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+ at Stateful
+public class SimpleSFSBeanWithoutInterfaces implements Serializable, Externalizable
+{
+
+   public static final int INITIAL_QTY = 2;
+
+   private int qtyPurchased = INITIAL_QTY;
+
+   public int getQtyPurchased()
+   {
+      return this.qtyPurchased;
+   }
+
+   public void incrementPurchaseQty()
+   {
+      this.qtyPurchased++;
+   }
+
+   public void incrementPurchaseQty(int qty)
+   {
+      this.qtyPurchased += qty;
+   }
+
+   public static void someStaticMethod()
+   {
+      // do nothing
+   }
+
+   public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
+   {
+      // do nothing
+
+   }
+
+   public void writeExternal(ObjectOutput out) throws IOException
+   {
+      // do nothing
+
+   }
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSFSBeanWithoutInterfaces.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSLSBWithoutInterface.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSLSBWithoutInterface.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSLSBWithoutInterface.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,81 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2008, 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.nointerface.impl.test.factory;
+
+import javax.ejb.Stateless;
+
+import org.jboss.logging.Logger;
+
+/**
+ * SimpleSLSBWithoutInterface
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+ at Stateless
+public class SimpleSLSBWithoutInterface
+{
+
+   /**
+    * Logger
+    */
+   private static Logger logger = Logger.getLogger(SimpleSLSBWithoutInterface.class);
+
+   public Object container;
+
+   public void simplePublicMethod()
+   {
+      // do nothing
+   }
+
+   private void somePrivateMethod()
+   {
+      // do nothing
+
+   }
+
+   public static void someStaticMethod()
+   {
+      // do nothing
+   }
+
+   public String sayHi(String name)
+   {
+      return "Hi " + name;
+   }
+
+   //   @Override
+   //   public String toString()
+   //   {
+   //      return "Test - " + this.getClass().getName();
+   //   }
+
+   public final String someFinalMethod()
+   {
+      return "someFinalMethod";
+   }
+
+   public static final int someStaticFinalMethod(int number)
+   {
+      return number;
+   }
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/SimpleSLSBWithoutInterface.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulBeanWithInterfaces.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulBeanWithInterfaces.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulBeanWithInterfaces.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,43 @@
+/**
+ * 
+ */
+package org.jboss.ejb3.nointerface.impl.test.factory;
+
+import java.io.Externalizable;
+import java.io.IOException;
+import java.io.ObjectInput;
+import java.io.ObjectOutput;
+import java.io.Serializable;
+
+import javax.ejb.Stateful;
+
+/**
+ * StatefulBeanWithInterfaces
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+ at Stateful
+public class StatefulBeanWithInterfaces implements MyStateful, Serializable, Externalizable
+{
+
+   private int counter = 1;
+
+   public int getNextCounter()
+   {
+      return ++counter;
+   }
+
+   public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
+   {
+      // do nothing
+      
+   }
+
+   public void writeExternal(ObjectOutput out) throws IOException
+   {
+      // do nothing
+      
+   }
+
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulBeanWithInterfaces.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulLocalBeanWithInterfaces.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulLocalBeanWithInterfaces.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatefulLocalBeanWithInterfaces.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,20 @@
+/**
+ * 
+ */
+package org.jboss.ejb3.nointerface.impl.test.factory;
+
+import javax.ejb.LocalBean;
+import javax.ejb.Stateful;
+
+/**
+ * StatefulLocalBeanWithInterfaces
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+ at Stateful
+ at LocalBean
+public class StatefulLocalBeanWithInterfaces extends StatefulBeanWithInterfaces
+{
+
+}

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessBeanWithInterfaces.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessBeanWithInterfaces.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessBeanWithInterfaces.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,23 @@
+/**
+ * 
+ */
+package org.jboss.ejb3.nointerface.impl.test.factory;
+
+import javax.ejb.Stateless;
+
+/**
+ * StatelessBeanWithInterfaces
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+ at Stateless
+public class StatelessBeanWithInterfaces implements MyStateless
+{
+
+   public String sayHello(String name)
+   {
+      return "Hello " + name;
+   }
+
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessBeanWithInterfaces.java
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessLocalBeanWithInterfaces.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessLocalBeanWithInterfaces.java	                        (rev 0)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessLocalBeanWithInterfaces.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -0,0 +1,25 @@
+/**
+ * 
+ */
+package org.jboss.ejb3.nointerface.impl.test.factory;
+
+import javax.ejb.LocalBean;
+import javax.ejb.Stateless;
+
+/**
+ * StatelessLocalBeanWithInterfaces
+ *
+ * @author Jaikiran Pai
+ * @version $Revision: $
+ */
+ at Stateless
+ at LocalBean
+public class StatelessLocalBeanWithInterfaces implements MyStateless
+{
+
+   public String sayHello(String name)
+   {
+      return "Hello " + name;
+   }
+
+}


Property changes on: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/StatelessLocalBeanWithInterfaces.java
___________________________________________________________________
Name: svn:executable
   + *

Modified: projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/unit/NoInterfaceViewFactoryTestCase.java
===================================================================
--- projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/test/factory/unit/NoInterfaceViewFactoryTestCase.java	2010-01-19 11:13:18 UTC (rev 99590)
+++ projects/ejb3/components/nointerface/trunk/impl/src/test/java/org/jboss/ejb3/nointerface/impl/test/factory/unit/NoInterfaceViewFactoryTestCase.java	2010-01-21 11:54:54 UTC (rev 99722)
@@ -19,7 +19,7 @@
  * 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.nointerface.test.factory.unit;
+package org.jboss.ejb3.nointerface.impl.test.factory.unit;
 
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
@@ -28,10 +28,10 @@
 import java.lang.reflect.InvocationHandler;
 import java.lang.reflect.Method;
 
+import org.jboss.ejb3.nointerface.impl.test.factory.SimpleSFSBeanWithoutInterfaces;
+import org.jboss.ejb3.nointerface.impl.test.factory.SimpleSLSBWithoutInterface;
 import org.jboss.ejb3.nointerface.impl.view.factory.JavassistNoInterfaceViewFactory;
 import org.jboss.ejb3.nointerface.spi.view.factory.NoInterfaceViewFactory;
-import org.jboss.ejb3.nointerface.test.viewcreator.SimpleSFSBeanWithoutInterfaces;
-import org.jboss.ejb3.nointerface.test.viewcreator.SimpleSLSBWithoutInterface;
 import org.jboss.logging.Logger;
 import org.junit.Test;
 




More information about the jboss-cvs-commits mailing list