public class JMessageEndpoint implements MessageDrivenContext(Code)
Generic interposed class for Message Endpoints This class presents these
interfaces, depending on object reached: MessageDrivenContext interface to
the bean instance
author: Philippe Coq, Philippe Durieux author: Christophe Ney (Easier Enhydra integration)
Obtains the transaction demarcation interface.
The UserTransaction interface that the enterprise bean instancecan use for transaction demarcation. exception: IllegalStateException - : Thrown if the instance container doesnot make the UserTransaction interface available to theinstance.
Marks the current transaction for rollback. Should be used only if the
instance is associated with a transaction
throws: java.lang.IllegalStateException - if the instance is not associatedwith a transaction