org.mockejb
Interface EjbBeanAccess


public interface EjbBeanAccess

Proivides access to the bean (instance of the EJB implementation class) and its context. Any remote/local interface in MockEJB can be cast to this type to gain access to the bean.

Author:
Alexander Ananiev

Method Summary
 java.lang.Object getBean()
           
 MockEjbContext getEjbContext()
          Returns MockEjbContext of the bean.
 

Method Detail

getBean

public java.lang.Object getBean()

getEjbContext

public MockEjbContext getEjbContext()
Returns MockEjbContext of the bean. MockEjbContext implements all context interfaces.

Returns:
instance of MockEjbContext