| org.ow2.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.ItfSimpleBeanOverridedRemote
All known Subclasses: org.ow2.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor.SFSBSimpleBeanOverrided,
ItfSimpleBeanOverridedRemote | public interface ItfSimpleBeanOverridedRemote (Code) | | Verifies if the deployment descriptor overrides the annotations.
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro |
Method Summary | |
void | openTransaction() Opens a transaction without close. | void | verifyBMT() Verifies if the bean has a bean-managed transaction. |
openTransaction | void openTransaction() throws NamingException, NotSupportedException, SystemException(Code) | | Opens a transaction without close. If the bean is stateless, this method
call will throw an EJBException.However, for a stateful the method will
be executed without problem.
throws: NamingException - if a problem to get the transaction occurs. throws: NotSupportedException - if the bean is already associated with a transaction. throws: SystemException - if an unexpected error occurs during the transaction. |
verifyBMT | void verifyBMT() throws IllegalStateException, SecurityException, HeuristicMixedException, HeuristicRollbackException, RollbackException, SystemException, NotSupportedException, NamingException(Code) | | Verifies if the bean has a bean-managed transaction. If the transaction
type is defined as container managed transaction, this method must throw
an exception.
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. |
|
|