User: ejort
Date: 02/03/17 04:56:29
Added: src/main/org/jboss/test/naming/interfaces TestEjbLink.java
TestEjbLinkHome.java
Log:
ejb-link test for an ear
Revision Changes Path
1.1
jbosstest/src/main/org/jboss/test/naming/interfaces/TestEjbLink.java
Index: TestEjbLink.java
===================================================================
package org.jboss.test.naming.interfaces;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;
/**
@author <a href="mailto:[EMAIL PROTECTED]">Adrian.Brock</a>
@version $Revision: 1.1 $
*/
public interface TestEjbLink extends EJBObject
{
/**
* 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 testEjbLinkCaller(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/TestEjbLinkHome.java
Index: TestEjbLinkHome.java
===================================================================
package org.jboss.test.naming.interfaces;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;
/**
@author <a href="mailto:[EMAIL PROTECTED]>Adrian Brock</a>
@version $Revision: 1.1 $
*/
public interface TestEjbLinkHome extends EJBHome
{
public TestEjbLink create() throws CreateException, RemoteException;
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development