org.jboss.remoting.samples.transporter.multiple
Class CustomerProcessorImpl

java.lang.Object
  extended by org.jboss.remoting.samples.transporter.multiple.CustomerProcessorImpl
All Implemented Interfaces:
CustomerProcessor

public class CustomerProcessorImpl
extends java.lang.Object
implements CustomerProcessor

Author:
Tom Elrod

Constructor Summary
CustomerProcessorImpl()
           
 
Method Summary
 Customer processCustomer(Customer customer)
          Takes the customer passed, and if not null and customer id is less than 0, will create a new random id and set it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerProcessorImpl

public CustomerProcessorImpl()
Method Detail

processCustomer

public Customer processCustomer(Customer customer)
Takes the customer passed, and if not null and customer id is less than 0, will create a new random id and set it. The customer object returned will be the modified customer object passed.

Specified by:
processCustomer in interface CustomerProcessor
Parameters:
customer -
Returns:


Copyright © 1998-2005 JBoss Inc . All Rights Reserved.