com.ibm.websphere.samples.plantsbywebsphereejb
Class MailerBean

java.lang.Object
  extended by com.ibm.websphere.samples.plantsbywebsphereejb.MailerBean
All Implemented Interfaces:
Mailer

public class MailerBean
extends java.lang.Object
implements Mailer

MailerBean is the implementation class for the Mailer stateless session EJB. MailerBean implements each of the business methods in the Mailer EJB remote interface and each of the EJB lifecycle methods in the javax.ejb.SessionBean interface.

See Also:
Mailer

Constructor Summary
MailerBean()
           
 
Method Summary
 void createAndSendMail(CustomerInfo customerInfo, java.lang.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(CustomerInfo customerInfo,
                              java.lang.String orderKey)
                       throws MailerAppException
Create a mail message and send it.

Specified by:
createAndSendMail in interface Mailer
Parameters:
customerInfo - Customer information.
orderKey -
Throws:
MailerAppException