User: ejort
Date: 02/03/22 16:54:14
Modified: src/main/org/jboss/test/naming/interfaces TestEjbLink.java
Added: src/main/org/jboss/test/naming/interfaces
TestEjbLinkLocal.java TestEjbLinkLocalHome.java
Log:
EjbLink test interfaces
Revision Changes Path
1.2 +7 -0
jbosstest/src/main/org/jboss/test/naming/interfaces/TestEjbLink.java
Index: TestEjbLink.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/naming/interfaces/TestEjbLink.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestEjbLink.java 17 Mar 2002 12:56:29 -0000 1.1
+++ TestEjbLink.java 23 Mar 2002 00:54:14 -0000 1.2
@@ -7,7 +7,7 @@
/**
@author <a href="mailto:[EMAIL PROTECTED]">Adrian.Brock</a>
-@version $Revision: 1.1 $
+@version $Revision: 1.2 $
*/
public interface TestEjbLink extends EJBObject
{
@@ -17,6 +17,13 @@
* @return the result of the call or "Failed" on an error
*/
public String testEjbLinkCaller(String jndiName)
+ throws RemoteException;
+ /**
+ * Call a bean with the passed jndi name bound using ejb-link
+ * @param jndiName the name of the bean specified in ejb-ref
+ * @return the result of the call or "Failed" on an error
+ */
+ public String testEjbLinkCallerLocal(String jndiName)
throws RemoteException;
/**
1.1
jbosstest/src/main/org/jboss/test/naming/interfaces/TestEjbLinkLocal.java
Index: TestEjbLinkLocal.java
===================================================================
package org.jboss.test.naming.interfaces;
import java.rmi.RemoteException;
import javax.ejb.EJBLocalObject;
/**
@author <a href="mailto:[EMAIL PROTECTED]">Adrian.Brock</a>
@version $Revision: 1.1 $
*/
public interface TestEjbLinkLocal extends EJBLocalObject
{
/**
* Call a bean with the passed jndi name bound using ejb-link
* @param jndiName the name of the bean specified in ejb-ref
* @return the result of the call or "Failed" on an error
*/
public String testEjbLinkCallerLocal(String jndiName)
throws RemoteException;
/**
* Called by a bean specified in ejb-link
* @return the string "Works"
*/
public String testEjbLinkCalled()
throws RemoteException;
}
1.1
jbosstest/src/main/org/jboss/test/naming/interfaces/TestEjbLinkLocalHome.java
Index: TestEjbLinkLocalHome.java
===================================================================
package org.jboss.test.naming.interfaces;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
/**
@author <a href="mailto:[EMAIL PROTECTED]>Adrian Brock</a>
@version $Revision: 1.1 $
*/
public interface TestEjbLinkLocalHome extends EJBLocalHome
{
public TestEjbLinkLocal create() throws CreateException, RemoteException;
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development