From 958cd21f00dedc3454c2c4be7e7724ffabd36261 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 11 Oct 2015 21:57:00 +0200 Subject: [PATCH] Continued: - added jcountry-core - added a remote singleton bean interface for country data retrieval --- lib/jcountry-core.jar | Bin 0 -> 5460 bytes nbproject/project.properties | 3 ++ ...AddressbookCountrySingletonBeanRemote.java | 35 ++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 lib/jcountry-core.jar create mode 100644 src/org/mxchange/jcountry/data/AddressbookCountrySingletonBeanRemote.java diff --git a/lib/jcountry-core.jar b/lib/jcountry-core.jar new file mode 100644 index 0000000000000000000000000000000000000000..666cd17dc9b25c599c3c4b5eb5190e5a9a58236a GIT binary patch literal 5460 zcmeHL&2Jk;6o2EScD!|3=c8$pe#HGw(k5;xlzxNjB*o1~Ly`tsC}v|%oozR}?(VuI zaG^*Di5}ok4qV_s4RHy_JaIVCWe}FqGC&a1Zz1gvMy;+-FkT|fGXLn}bd-Hp5 z-pB0BOtiEr0Brz&EKghj-xY^em>QeU4CkiD(@!1&%+yF9Bk9?127W6eIsLowUn8B$ zOy|bO=H^GH#-~(6yUuNAc!68CW*VnbM@NpdD;dK#k}0c&C7!}De0g%@c)OCdxa#oY z@cC7uKQVG7fBg8cW;on3RDF2y$kEimB}*;nJe4)AvT3OfiXLoN+Ld~QK3z~10Mja^ z8&kAPishBUl4_KA6Vjd_>5YO}F&t~P3D5S1JVn(}1B@&AyC1f-;Huz%pgCjKoq437 ztG4~<$@f1Z`7!8^!HyX0jKMAjT_x^Fs+lFz;90ZCadcpC@`id_P3x#^dTzm*K^MhOKbJb^^h<(DK#NYExvkPEK6PSl)ZX+qd0Pnb)$ z#V<~hk-%P0;G|hl^-)dLXDohQTfujpkTvi6Jig4LWvWF#W1q*k_GO31nLB#IxXD); zba)K4v3?(&E#`M|&GK6n&EjaHEp@t|H%*hsk83(E ze4^?xwE7J8P*l`>zUIinDJ3O?q~|G@7H{x^!=PIXX=Zwk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%`s-o`Sd9S%3xgT;r;)C#l2LhhdU(vkbDhhc1U6wd-o0-@U QCGIx-9YlZJO8W))8}F;hp8x;= literal 0 HcmV?d00001 diff --git a/nbproject/project.properties b/nbproject/project.properties index 82646a8..2574a09 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -36,6 +36,7 @@ file.reference.jcore-logger-lib.jar=lib/jcore-logger-lib.jar file.reference.jcore-swing.jar=lib/jcore-swing.jar file.reference.jcore.jar=lib/jcore.jar file.reference.jcoreee.jar=lib/jcoreee.jar +file.reference.jcountry-core.jar=lib/jcountry-core.jar file.reference.juser-core.jar=lib\\juser-core.jar includes=** jar.archive.disabled=${jnlp.enabled} @@ -46,6 +47,7 @@ javac.classpath=\ ${file.reference.jcoreee.jar}:\ ${file.reference.jcore-swing.jar}:\ ${file.reference.jcore-logger-lib.jar}:\ + ${file.reference.jcountry-core.jar}:\ ${file.reference.jcontacts-core.jar}:\ ${file.reference.jcontacts-business-core.jar}:\ ${file.reference.juser-core.jar}:\ @@ -105,6 +107,7 @@ source.reference.jcore-logger-lib.jar=../jcore-logger-lib/src/ source.reference.jcore-swing.jar=../jcore-swing/src source.reference.jcore.jar=../jcore/src source.reference.jcoreee.jar=../jcoreee/src/ +source.reference.jcountry-core.jar=../jcountry-core/src/ source.reference.juser-core.jar=../juser-core/src/ src.dir=src test.src.dir=test diff --git a/src/org/mxchange/jcountry/data/AddressbookCountrySingletonBeanRemote.java b/src/org/mxchange/jcountry/data/AddressbookCountrySingletonBeanRemote.java new file mode 100644 index 0000000..60bd356 --- /dev/null +++ b/src/org/mxchange/jcountry/data/AddressbookCountrySingletonBeanRemote.java @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2015 Roland Haeder + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.mxchange.jcountry.data; + +import java.io.Serializable; +import java.util.List; + +/** + * A remote interface for country informations + *

+ * @author Roland Haeder + */ +public interface AddressbookCountrySingletonBeanRemote extends Serializable { + + /** + * All registered countries + *

+ * @return A list of all countries + */ + public List allCountries (); +} -- 2.39.5