| java.lang.Object org.ow2.easybeans.tests.interceptors.business.base.access.BaseAccessOperationsInterceptor00 org.ow2.easybeans.tests.interceptors.business.stateless.beanmanaged.TestSLBeanManagedAccessInterceptor00
TestSLBeanManagedAccessInterceptor00 | public class TestSLBeanManagedAccessInterceptor00 extends BaseAccessOperationsInterceptor00 (Code) | | Verifies if interceptors in an external class can perform the
operations specified by the JSR-220.
author: Eduardo Studzinski Estima de Castro author: Gisele Pinheiro Souza |
Method Summary | |
public void | startUp() Gets bean instances used in the tests. | public void | testEJB00() Verifies if the interceptor can access an EJB. | public void | testEntityFactory00() Verifies if the interceptor can access the entity factory. | public void | testEntityManager00() Verifies if the interceptor can access the entity manager. | public void | testJNDI00() Verifies if the interceptor can access the "java:comp/env" via JNDI. | public void | testResource00() Verifies if the interceptor can access the resource manager. | public void | testSessionContext00() Verifies if the interceptor can access the session context. | public void | testSessionContext01() Verifies if an interceptor can access the "getTimerService()" of a
SessionContext instance. | public void | testSessionContext02() Test if an interceptor can access the "getUserTransaction()" of a
SessionContext instance. | public void | testUserTransaction00() Verifies if the interceptor can access the user transaction. |
startUp | public void startUp() throws Exception(Code) | | Gets bean instances used in the tests.
throws: Exception - if there is a problem with the bean initialization. |
testEJB00 | public void testEJB00() throws Exception(Code) | | Verifies if the interceptor can access an EJB. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testEntityFactory00 | public void testEntityFactory00() throws Exception(Code) | | Verifies if the interceptor can access the entity factory. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testEntityManager00 | public void testEntityManager00() throws Exception(Code) | | Verifies if the interceptor can access the entity manager. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testJNDI00 | public void testJNDI00() throws Exception(Code) | | Verifies if the interceptor can access the "java:comp/env" via JNDI. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testResource00 | public void testResource00() throws Exception(Code) | | Verifies if the interceptor can access the resource manager. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testSessionContext00 | public void testSessionContext00() throws Exception(Code) | | Verifies if the interceptor can access the session context. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testSessionContext01 | public void testSessionContext01() throws Exception(Code) | | Verifies if an interceptor can access the "getTimerService()" of a
SessionContext instance. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testSessionContext02 | public void testSessionContext02() throws Exception(Code) | | Test if an interceptor can access the "getUserTransaction()" of a
SessionContext instance. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
testUserTransaction00 | public void testUserTransaction00() throws Exception(Code) | | Verifies if the interceptor can access the user transaction. This
operation is allowed, so there isn't an expected
exception.
throws: Exception - if a problem occurs. |
Methods inherited from org.ow2.easybeans.tests.interceptors.business.base.access.BaseAccessOperationsInterceptor00 | public void setBeans(ItfAccessJNDI bean00, ItfAccessEJB bean01, ItfAccessResourceManager bean02, ItfAccessEntityManager bean03, ItfAccessEMFactory bean04, ItfAccessSessionContext bean05, ItfAccessUserTransaction bean06)(Code)(Java Doc) public void setBeans(ItfAccessJNDI bean00, ItfAccessEJB bean01, ItfAccessResourceManager bean02, ItfAccessEntityManager bean03, ItfAccessEMFactory bean04, ItfAccessSessionContext bean05, ItfAccessUserTransaction bean06, ItfAccessSessionContext bean07, ItfAccessSessionContext bean08)(Code)(Java Doc) public void testEJB00() throws Exception(Code)(Java Doc) public void testEntityFactory00() throws Exception(Code)(Java Doc) public void testEntityManager00() throws Exception(Code)(Java Doc) public void testJNDI00() throws Exception(Code)(Java Doc) public void testResource00() throws Exception(Code)(Java Doc) public void testSessionContext00() throws Exception(Code)(Java Doc) public void testSessionContext01() throws Exception(Code)(Java Doc) public void testSessionContext02() throws Exception(Code)(Java Doc) public void testUserTransaction00() throws Exception(Code)(Java Doc)
|
|
|