]> git.mxchange.org Git - jbonuscard-lib.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Sun, 11 Oct 2015 19:57:00 +0000 (21:57 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 11 Oct 2015 19:57:00 +0000 (21:57 +0200)
- added jcountry-core
- added a remote singleton bean interface for country data retrieval

lib/jcountry-core.jar [new file with mode: 0644]
nbproject/project.properties
src/org/mxchange/jcountry/data/AddressbookCountrySingletonBeanRemote.java [new file with mode: 0644]

diff --git a/lib/jcountry-core.jar b/lib/jcountry-core.jar
new file mode 100644 (file)
index 0000000..666cd17
Binary files /dev/null and b/lib/jcountry-core.jar differ
index 82646a8972d87f2f862d9a014ea889252dbba552..2574a0942f839b5111798ea37f3623c5735faf68 100644 (file)
@@ -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 (file)
index 0000000..60bd356
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jcountry.data;
+
+import java.io.Serializable;
+import java.util.List;
+
+/**
+ * A remote interface for country informations
+ * <p>
+ * @author Roland Haeder
+ */
+public interface AddressbookCountrySingletonBeanRemote extends Serializable {
+
+       /**
+        * All registered countries
+        * <p>
+        * @return A list of all countries
+        */
+       public List<Country> allCountries ();
+}