| org.ow2.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.ItfOverrideTester00
All known Subclasses: org.ow2.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.SFSBOverrideTester00,
ItfOverrideTester00 | public interface ItfOverrideTester00 (Code) | | Verifies if the deployment descriptor overrides the annotations.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
void | testLocalInjection() Verifies if the bean was injected correctly. | void | testLookupLocal() Verifies if the bean(with the local interface) can be obtained by the
lookup. | void | testLookupRemote() Verifies if the bean(with the remote interface) can be obtained by the
lookup. | void | testRemoteInjection() Verifies if the bean was injected correctly. | void | testTransactionType() Verifies if the transaction type was overriden by the container. |
testLocalInjection | void testLocalInjection()(Code) | | Verifies if the bean was injected correctly. The local interface is used.
|
testLookupLocal | 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 | 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 | void testRemoteInjection()(Code) | | Verifies if the bean was injected correctly. The remote interface is
used.
|
testTransactionType | 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 managemente 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. |
|
|