com.acme.cdi.payment
Class MockPaymentProcessor
java.lang.Object
com.acme.cdi.payment.MockPaymentProcessor
- All Implemented Interfaces:
- PaymentProcessor
@Alternative
@RequestScoped
public class MockPaymentProcessor
- extends Object
- implements PaymentProcessor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HAS_BEEN_CALLED
public static Boolean HAS_BEEN_CALLED
MockPaymentProcessor
public MockPaymentProcessor()
process
public void process(String payment)
- Specified by:
process in interface PaymentProcessor
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.