[jboss-cvs] JBossAS SVN: r64244 - in trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic: interfaces and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jul 24 01:25:39 EDT 2007


Author: bstansberry at jboss.com
Date: 2007-07-24 01:25:39 -0400 (Tue, 24 Jul 2007)
New Revision: 64244

Added:
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPK.java
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPKHome.java
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/NodeAnswer.java
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntity.java
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntityHome.java
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatefulSession.java
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSession.java
   trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSessionHome.java
Log:
Add missing interfaces dir

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPK.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPK.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPK.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,35 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import javax.ejb.EJBLocalObject;
+
+import org.jboss.test.testbean.interfaces.AComplexPK;
+
+public interface EntityPK extends EJBLocalObject
+{
+    public AComplexPK readAllValues();
+    public void updateAllValues(AComplexPK aComplexPK);
+	
+	public int getOtherField();
+	public void setOtherField(int newValue);
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPK.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPKHome.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPKHome.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPKHome.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,51 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import java.util.Collection;
+import javax.ejb.EJBLocalHome;
+import javax.ejb.CreateException;
+import javax.ejb.FinderException;
+
+import org.jboss.test.cluster.ejb2.basic.interfaces.EntityPK;
+import org.jboss.test.testbean.interfaces.AComplexPK;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */ 
+public interface EntityPKHome extends EJBLocalHome
+{
+    public EntityPK create(boolean aBoolean, int anInt, long aLong,
+       double aDouble, String aString)
+       throws CreateException;
+
+    public EntityPK createMETHOD(boolean aBoolean, int anInt, long aLong,
+       double aDouble, String aString)
+       throws CreateException;
+
+    public EntityPK findByPrimaryKey(AComplexPK acomplexPK)
+        throws FinderException;
+
+    public Collection findAll()
+        throws FinderException;
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/EntityPKHome.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/NodeAnswer.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/NodeAnswer.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/NodeAnswer.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,57 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import java.rmi.dgc.VMID;
+import java.io.Serializable;
+
+/** A data class used to track the identity of the cluster node.
+ *
+ * @author  <a href="mailto:sacha.labourey at cogito-info.ch">Sacha Labourey</a>.
+ * @version $Revision$
+ */
+public class NodeAnswer implements Serializable
+{
+   public VMID nodeId = null;
+   public Object answer = null;
+   
+   public NodeAnswer (VMID node, Object answer)
+   {
+      this.nodeId = node;
+      this.answer = answer;
+   }
+   
+   public VMID getNodeId ()
+   {
+      return this.nodeId;
+   }
+   
+   public Object getAnswer()
+   {
+      return this.answer;
+   }
+   
+   public String toString ()
+   {
+      return "{ " + this.nodeId + " ; " + this.answer + " }";
+   }
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/NodeAnswer.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntity.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntity.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntity.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,42 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import java.rmi.RemoteException;
+import javax.ejb.EJBObject;
+import javax.ejb.CreateException;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public interface SessionToEntity extends EJBObject
+{
+   public String createEntity()
+      throws CreateException, RemoteException;
+   public NodeAnswer accessEntity()
+      throws RemoteException;
+   public int getAccessCount()
+      throws RemoteException;
+   public NodeAnswer validateAccessCount(int count)
+      throws RemoteException;
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntity.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntityHome.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntityHome.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntityHome.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,38 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import java.rmi.RemoteException;
+import javax.ejb.EJBHome;
+import javax.ejb.CreateException;
+
+import org.jboss.test.testbean.interfaces.AComplexPK;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revison:$
+ */
+public interface SessionToEntityHome extends EJBHome
+{
+   public SessionToEntity create(AComplexPK key)
+      throws CreateException, RemoteException;
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/SessionToEntityHome.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatefulSession.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatefulSession.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatefulSession.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,48 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import java.rmi.RemoteException;
+import java.rmi.dgc.VMID;
+
+/**
+ * <description>
+ *
+ * @see <related>
+ *
+ * @author  <a href="mailto:sacha.labourey at cogito-info.ch">Sacha Labourey</a>.
+ * @version $Revision$
+ *
+ * <p><b>Revisions:</b>
+ *
+ * <p><b>6. octobre 2002 Sacha Labourey:</b>
+ * <ul>
+ * <li> First implementation </li>
+ * </ul>
+ */
+
+public interface StatefulSession extends org.jboss.test.testbean.interfaces.StatefulSession
+{
+   public NodeAnswer getNodeState () throws RemoteException;
+   public void setName (String name) throws RemoteException;
+   public void setNameOnlyOnNode (String name, VMID node) throws RemoteException;
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatefulSession.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSession.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSession.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSession.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,51 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import java.rmi.RemoteException;
+import javax.ejb.EJBObject;
+
+/**
+ * A stateless session interface for clustering testing
+ *
+ * @author  <a href="mailto:sacha.labourey at cogito-info.ch">Sacha Labourey</a>.
+ * @version $Revision$
+ */
+public interface StatelessSession extends EJBObject
+{
+   public void callBusinessMethodA()
+      throws RemoteException;
+   public String callBusinessMethodB(String jndiURL)
+      throws RemoteException;
+
+   public void resetNumberOfCalls()
+      throws RemoteException;
+
+   public void makeCountedCall()
+      throws RemoteException;
+
+   public long getCallCount()
+      throws RemoteException;
+   
+   public String getBindAddress()
+      throws RemoteException;
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSession.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Added: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSessionHome.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSessionHome.java	                        (rev 0)
+++ trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSessionHome.java	2007-07-24 05:25:39 UTC (rev 64244)
@@ -0,0 +1,35 @@
+/*
+  * JBoss, Home of Professional Open Source
+  * Copyright 2005, JBoss Inc., 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.cluster.ejb2.basic.interfaces;
+
+import java.rmi.RemoteException;
+import javax.ejb.CreateException;
+import javax.ejb.EJBHome;
+
+/**
+ * @author Scott.Stark at jboss.org
+ * @version $Revision$
+ */
+public interface StatelessSessionHome extends EJBHome
+{
+   public StatelessSession create() throws CreateException, RemoteException;
+}


Property changes on: trunk/testsuite/src/main/org/jboss/test/cluster/ejb2/basic/interfaces/StatelessSessionHome.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native




More information about the jboss-cvs-commits mailing list