FileDocCategorySizeDatePackage
CustomerCallbackListener.javaAPI DocJBoss 4.2.12802Fri Jul 13 20:54:40 BST 2007org.jboss.tutorial.callback.bean

CustomerCallbackListener

public class CustomerCallbackListener extends Object
author
Kabir Khan
version
$Revision: 57207 $

Fields Summary
Constructors Summary
Methods Summary
public voiddoPostLoad(Customer customer)

      System.out.println("doPostLoad: Loaded Customer: " + customer.getFirst() + " " + customer.getLast());
   
public voiddoPostPersist(java.lang.Object customer)

      System.out.println("doPostPersist: Created Customer: " + ((Customer)customer).getFirst() + " " + ((Customer)customer).getLast());
   
public voiddoPostRemove(Customer customer)

      System.out.println("doPostRemove: Deleted Customer: " + customer.getFirst() + " " + customer.getLast());
   
public voiddoPostUpdate(Customer customer)

      System.out.println("doPostUpdate: Updated Customer: " + customer.getFirst() + " " + customer.getLast());
   
public voiddoPrePersist(Customer customer)

      System.out.println("doPrePersist: About to create Customer: " + customer.getFirst() + " " + customer.getLast());
   
public voiddoPreRemove(Customer customer)

      System.out.println("doPreRemove: About to delete Customer: " + customer.getFirst() + " " + customer.getLast());
   
public voiddoPreUpdate(Customer customer)

      System.out.println("doPreUpdate: About to update Customer: " + customer.getFirst() + " " + customer.getLast());