org.jboss.tutorial.jndibinding.bean
Class CustomerBean

java.lang.Object
  extended by org.jboss.tutorial.jndibinding.bean.CustomerBean
All Implemented Interfaces:
CustomerManager

public class CustomerBean
extends java.lang.Object
implements CustomerManager

CustomerBean


Constructor Summary
CustomerBean()
           
 
Method Summary
 long createCustomer(java.lang.String name)
           
 Customer getCustomer(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerBean

public CustomerBean()
Method Detail

createCustomer

public long createCustomer(java.lang.String name)
Specified by:
createCustomer in interface CustomerManager

getCustomer

public Customer getCustomer(long id)
Specified by:
getCustomer in interface CustomerManager