Skip to content

Commit 45d43be

Browse files
committed
IN PROGRESS - issue JAVAMONEY-30: JavaFX Binding Example
https://java.net/jira/browse/JAVAMONEY-30
1 parent b898300 commit 45d43be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/javamoney-payment-cdi-event/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
payment-cdi-event: Use CDI Events to Process Debit and Credit Operations
1+
javamoney-payment-cdi-event: Use CDI Events to Process Debit and Credit Operations
22
========================================================================
33
Author: Elvadas Nono (initial contribution), Werner Keil;
44
Level: Beginner;
@@ -17,7 +17,7 @@ To test this quickstart, enter an amount, choose either a Credit or Debit operat
1717

1818
A Session scoped (@SessionScoped) payment event handler catches the operation and produces (@Produces) a named list of all operations performed during this session. The event is logged in the JBoss console and the event list is displayed in a table at the bottom of the form.
1919

20-
The payment-cdi-event example defines the following classes:
20+
The javamoney-payment-cdi-event example defines the following classes:
2121

2222
* PaymentBean:
2323
* A session scoped bean that stores the payment form information:
@@ -27,7 +27,7 @@ The payment-cdi-event example defines the following classes:
2727
* public String pay(): Process the operation when the user clicks on submit. We have only one JSP page, so the method does not return anything and the flow of control doesn't change.
2828
* public void reset(): Clear the payment form data.
2929
* PaymentEvent: We have only one Event. It handles both credit and debit operations. Qualifiers help us to make the difference at injection point.
30-
* PaymentTypeEnum: A typesafe enum is used to represent the operation payment type. It contains utility methods to convert between String and Enum.
30+
* PaymentType: A typesafe enum is used to represent the operation payment type. It contains utility methods to convert between String and Enum.
3131
* The qualifiers package contains the Credit and Debit classes. The annotation determines the operation of injecting Event.
3232
* The handler package containss Interfaces and implementations of PaymentEvent Observers.
3333
* ICreditEventObserver: Interface to listen to CREDIT Event Only (@Observes @Credit).

0 commit comments

Comments
 (0)