wt.inf.container
Class DeleteManagerEventHandler.Emailer

java.lang.Object
  extended bywt.inf.container.DeleteManagerEventHandler.Emailer
All Implemented Interfaces:
TransactionListener
Enclosing class:
DeleteManagerEventHandler

private static final class DeleteManagerEventHandler.Emailer
extends Object
implements TransactionListener


Field Summary
private  WTContainer container
           
private  String messageKey
           
private  String subject
           
private  WTException wte1
           
private  WTException wte2
           
 
Constructor Summary
protected DeleteManagerEventHandler.Emailer(WTContainer a_Container, String subject_key, String message_key, WTException a_wte1)
           
 
Method Summary
 void notifyCommit()
          Notify that the commit of the transaction completed.
 void notifyRollback()
          Notify that the rollback of the transaction completed.
protected  void rollbackFailed(String message_key, WTException a_wte2)
           
(package private)  void sendEmail(WTContainer container, String subject, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wte1

private final WTException wte1

subject

private final String subject

container

private final WTContainer container

messageKey

private String messageKey

wte2

private WTException wte2
Constructor Detail

DeleteManagerEventHandler.Emailer

protected DeleteManagerEventHandler.Emailer(WTContainer a_Container,
                                            String subject_key,
                                            String message_key,
                                            WTException a_wte1)
Method Detail

rollbackFailed

protected void rollbackFailed(String message_key,
                              WTException a_wte2)

notifyRollback

public void notifyRollback()
Description copied from interface: TransactionListener
Notify that the rollback of the transaction completed.

Supported API: true

Specified by:
notifyRollback in interface TransactionListener

notifyCommit

public void notifyCommit()
Description copied from interface: TransactionListener
Notify that the commit of the transaction completed.

Supported API: true

Specified by:
notifyCommit in interface TransactionListener

sendEmail

void sendEmail(WTContainer container,
               String subject,
               String message)
         throws WTException
Throws:
WTException