org.jboss.test.naming.interfaces
Interface TestEjbLink

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface TestEjbLink
extends EJBObject (src)


Method Summary
 java.lang.String testEjbLinkCalled()
          Called by a bean specified in ejb-link
 java.lang.String testEjbLinkCaller(java.lang.String jndiName)
          Call a bean with the passed jndi name bound using ejb-link
 java.lang.String testEjbLinkCallerLocal(java.lang.String jndiName)
          Call a bean with the passed jndi name bound using ejb-link
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

testEjbLinkCaller

public java.lang.String testEjbLinkCaller(java.lang.String jndiName)
                                   throws java.rmi.RemoteException
Call a bean with the passed jndi name bound using ejb-link

Parameters:
jndiName - the name of the bean specified in ejb-ref
Returns:
the result of the call or "Failed" on an error
Throws:
java.rmi.RemoteException

testEjbLinkCallerLocal

public java.lang.String testEjbLinkCallerLocal(java.lang.String jndiName)
                                        throws java.rmi.RemoteException
Call a bean with the passed jndi name bound using ejb-link

Parameters:
jndiName - the name of the bean specified in ejb-ref
Returns:
the result of the call or "Failed" on an error
Throws:
java.rmi.RemoteException

testEjbLinkCalled

public java.lang.String testEjbLinkCalled()
                                   throws java.rmi.RemoteException
Called by a bean specified in ejb-link

Returns:
the string "Works"
Throws:
java.rmi.RemoteException