From: Roland Haeder Date: Sun, 11 Oct 2015 19:57:00 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=958cd21f00dedc3454c2c4be7e7724ffabd36261;hp=4c56a5bae53e9794a1cf8217ee76a203628cd8bc;p=addressbook-lib.git Continued: - added jcountry-core - added a remote singleton bean interface for country data retrieval --- diff --git a/lib/jcountry-core.jar b/lib/jcountry-core.jar new file mode 100644 index 0000000..666cd17 Binary files /dev/null and b/lib/jcountry-core.jar differ 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 (); +}