com.ibm.websphere.samples.pbw.ejb
Class MailerBean

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.ejb.MailerBean

public class MailerBean
extends Object

MailerBean provides a transactional facade for access to Order information and notification of the buyer of order state.


Constructor Summary
MailerBean()
           
 
Method Summary
 void createAndSendMail(Customer customerInfo, String orderKey)
          Create a mail message and send it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailerBean

public MailerBean()
Method Detail

createAndSendMail

public void createAndSendMail(Customer customerInfo,
                              String orderKey)
                       throws MailerAppException
Create a mail message and send it.

Parameters:
customerInfo - Customer information.
orderKey -
Throws:
MailerAppException


Copyright © 2011. All Rights Reserved.