Skip to content

Commit b898300

Browse files
committed
IN PROGRESS - issue JAVAMONEY-9: Integrate with JBoss AS Payment CDI
Quickstart https://java.net/jira/browse/JAVAMONEY-9
1 parent d899a1d commit b898300

File tree

11 files changed

+81
-55
lines changed

11 files changed

+81
-55
lines changed

web/javamoney-payment-cdi-event/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
<artifactId>javamoney-payment-cdi-event</artifactId>
1717
<packaging>war</packaging>
1818
<name>Java Money and Currency: CDI Event</name>
19-
<description>JBoss AS Quickstarts: CDI Event</description>
19+
<description>Java Money and Currency: CDI Payment Event</description>
2020

21-
<url>http://jboss.org/jbossas</url>
21+
<url>http://javamoney.java.net</url>
2222
<licenses>
2323
<license>
2424
<name>Apache License, Version 2.0</name>
Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
22
* JSR 354 Examples
3-
* Copyright 2012-2013, Credit Suisse AG, Red Hat, Inc. and/or its affiliates,
4-
* and individual contributors by the @author tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.beans;
20+
package net.java.javamoney.examples.paymentcdi.beans;
1821

1922

2023
import java.io.Serializable;
@@ -31,10 +34,10 @@
3134
import javax.money.Money;
3235
import javax.money.MoneyCurrency;
3336

34-
import net.java.javamoney.examples.payment.events.PaymentEvent;
35-
import net.java.javamoney.examples.payment.events.PaymentType;
36-
import net.java.javamoney.examples.payment.qualifiers.Credit;
37-
import net.java.javamoney.examples.payment.qualifiers.Debit;
37+
import net.java.javamoney.examples.paymentcdi.events.PaymentEvent;
38+
import net.java.javamoney.examples.paymentcdi.events.PaymentType;
39+
import net.java.javamoney.examples.paymentcdi.qualifiers.Credit;
40+
import net.java.javamoney.examples.paymentcdi.qualifiers.Debit;
3841
import net.java.javamoney.impl.cdi.qualifiers.Amount;
3942

4043
@Named
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
2-
* JSR 354 CDI Example
3-
* Copyright 2012-2013, Credit Suisse, Red Hat, Inc., and individual
4-
* contributors by the @author tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
2+
* JSR 354 Examples
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.events;
20+
package net.java.javamoney.examples.paymentcdi.events;
1821

1922
import java.util.Date;
2023

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
22
* JSR 354 Examples
3-
* Copyright 2012-2013, Credit Suisse AG, Red Hat, Inc. and/or its affiliates,
4-
* and individual contributors by the @author tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.events;
20+
package net.java.javamoney.examples.paymentcdi.events;
1821

1922
import java.util.HashMap;
2023
import java.util.Map;
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
22
* JSR 354 Examples
3-
* Copyright 2012-2013, Credit Suisse AG, Red Hat, Inc. and/or its affiliates,
4-
* and individual contributors by the @author tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,14 +17,14 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.handler;
20+
package net.java.javamoney.examples.paymentcdi.handler;
1821

1922

2023

2124
import javax.enterprise.event.Observes;
2225

23-
import net.java.javamoney.examples.payment.events.PaymentEvent;
24-
import net.java.javamoney.examples.payment.qualifiers.Credit;
26+
import net.java.javamoney.examples.paymentcdi.events.PaymentEvent;
27+
import net.java.javamoney.examples.paymentcdi.qualifiers.Credit;
2528

2629
/**
2730
*
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
2-
* JBoss, Home of Professional Open Source
3-
* Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual
4-
* contributors by the @authors tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
2+
* JSR 354 Examples
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.handler;
20+
package net.java.javamoney.examples.paymentcdi.handler;
1821
/**
1922
*
2023
* @author Elvadas-Nono
@@ -24,8 +27,8 @@
2427

2528
import javax.enterprise.event.Observes;
2629

27-
import net.java.javamoney.examples.payment.events.PaymentEvent;
28-
import net.java.javamoney.examples.payment.qualifiers.Debit;
30+
import net.java.javamoney.examples.paymentcdi.events.PaymentEvent;
31+
import net.java.javamoney.examples.paymentcdi.qualifiers.Debit;
2932

3033

3134
public interface IDebitEventObserver {
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
22
* JSR 354 Examples
3-
* Copyright 2012-2013, Credit Suisse AG, Red Hat, Inc. and/or its affiliates,
4-
* and individual contributors by the @author tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.handler;
20+
package net.java.javamoney.examples.paymentcdi.handler;
1821

1922
import java.io.Serializable;
2023
import java.util.ArrayList;
@@ -27,9 +30,9 @@
2730
import javax.inject.Inject;
2831
import javax.inject.Named;
2932

30-
import net.java.javamoney.examples.payment.events.PaymentEvent;
31-
import net.java.javamoney.examples.payment.qualifiers.Credit;
32-
import net.java.javamoney.examples.payment.qualifiers.Debit;
33+
import net.java.javamoney.examples.paymentcdi.events.PaymentEvent;
34+
import net.java.javamoney.examples.paymentcdi.qualifiers.Credit;
35+
import net.java.javamoney.examples.paymentcdi.qualifiers.Debit;
3336

3437

3538
/**
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
22
* JSR 354 Examples
3-
* Copyright 2012-2013, Credit Suisse AG, Red Hat, Inc. and/or its affiliates,
4-
* and individual contributors by the @author tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.qualifiers;
20+
package net.java.javamoney.examples.paymentcdi.qualifiers;
1821

1922
import java.lang.annotation.Retention;
2023
import java.lang.annotation.Target;
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
22
* JSR 354 Examples
3-
* Copyright 2012-2013, Credit Suisse AG, Red Hat, Inc. and/or its affiliates,
4-
* and individual contributors by the @author tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.qualifiers;
20+
package net.java.javamoney.examples.paymentcdi.qualifiers;
1821

1922
import java.lang.annotation.Retention;
2023
import java.lang.annotation.Target;
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*
2-
* JBoss, Home of Professional Open Source
3-
* Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual
4-
* contributors by the @authors tag. See the copyright.txt in the
5-
* distribution for a full listing of individual contributors.
2+
* JSR 354 Examples
3+
* Copyright 2012 Red Hat, Inc. and/or its affiliates,
4+
* and individual contributors by the @author tags. See the copyright.txt in the
5+
* distribution for a full listing of individual contributors
6+
*
7+
* Copyright 2012-2013, Credit Suisse AG, Werner Keil
8+
* and individual contributors by the @author tags.
69
*
710
* Licensed under the Apache License, Version 2.0 (the "License");
811
* you may not use this file except in compliance with the License.
@@ -14,7 +17,7 @@
1417
* See the License for the specific language governing permissions and
1518
* limitations under the License.
1619
*/
17-
package net.java.javamoney.examples.payment.resources;
20+
package net.java.javamoney.examples.paymentcdi.resources;
1821

1922
import java.util.logging.Logger;
2023

0 commit comments

Comments
 (0)