| TestEjbLinkLocal.java |
/*
* JBoss, the OpenSource J2EE webOS
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package org.jboss.test.naming.interfaces;
import javax.ejb.EJBLocalObject;
/**
@author <a href="mailto:Adrian.Brock@HappeningTimes.com">Adrian.Brock</a>
@version $Revision: 1.2.6.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);
/**
* Called by a bean specified in ejb-link
* @return the string "Works"
*/
public String testEjbLinkCalled();
}
| TestEjbLinkLocal.java |