| java.lang.Object org.ow2.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.SFSBOverrideTester00
SFSBOverrideTester00 | public class SFSBOverrideTester00 implements ItfOverrideTester00(Code) | | Verifies if the container overrides the annotation by the deployment
descriptor.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
public void | testLocalInjection() Verifies if the bean was injected correctly. | public void | testLookupLocal() Verifies if the bean(with the local interface) can be obtained by the
lookup. | public void | testLookupRemote() Verifies if the bean(with the remote interface) can be obtained by the
lookup. | public void | testRemoteInjection() Verifies if the bean was injected correctly. | public void | testTransactionType() Verifies if the transaction type was overriden by the container. |
testLocalInjection | public void testLocalInjection()(Code) | | Verifies if the bean was injected correctly. The local interface is used.
|
testLookupLocal | public void testLookupLocal() throws Exception(Code) | | Verifies if the bean(with the local interface) can be obtained by the
lookup.
throws: Exception - if a lookup error occurs. |
testLookupRemote | public void testLookupRemote() throws Exception(Code) | | Verifies if the bean(with the remote interface) can be obtained by the
lookup.
throws: Exception - if a lookup error occurs. |
testRemoteInjection | public void testRemoteInjection()(Code) | | Verifies if the bean was injected correctly. The remote interface is
used.
|
testTransactionType | public void testTransactionType() throws IllegalStateException, SecurityException, HeuristicMixedException, HeuristicRollbackException, RollbackException, SystemException, NotSupportedException, NamingException(Code) | | Verifies if the transaction type was overriden by the container. The bean
has the transaction management defined as Container and the xml
descriptor defines the transaction management as bean.
throws: NamingException - if a lookup error occurs. throws: SystemException - if an unexpected error occurs. throws: NotSupportedException - if the resquest cannot be made. throws: HeuristicRollbackException - if a heuristic decision was made andsome relevant update was rolled back. throws: RollbackException - if the transaction was rolled back instead ofcommitted. throws: HeuristicMixedException - if a heuristic decision was made and somerelevant update was commited and others rolled back. throws: TransactionException - if a rollback was made. |
|
|