com.ibm.websphere.samples.plantsbywebspherewar
Class MailAction

java.lang.Object
  extended by com.ibm.websphere.samples.plantsbywebspherewar.MailAction
All Implemented Interfaces:
java.io.Serializable

public class MailAction
extends java.lang.Object
implements java.io.Serializable

This class sends the email confirmation message.

See Also:
Serialized Form

Constructor Summary
MailAction()
          Public constructor
 
Method Summary
 void sendConfirmationMessage(CustomerInfo customerInfo, java.lang.String orderKey)
          Send the email order confirmation message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailAction

public MailAction()
Public constructor

Method Detail

sendConfirmationMessage

public final void sendConfirmationMessage(CustomerInfo customerInfo,
                                          java.lang.String orderKey)
                                   throws javax.ejb.CreateException,
                                          javax.ejb.FinderException
Send the email order confirmation message.

Parameters:
customerInfo - The customer information.
orderKey - The order number.
Throws:
javax.ejb.CreateException
javax.ejb.FinderException