]> git.mxchange.org Git - jjobs-war.git/commitdiff
introduced new lib jphone-lib.jar which holds remote interfaces for jphone-core
authorRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 16:08:10 +0000 (18:08 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 16:08:10 +0000 (18:08 +0200)
lib/jphone-lib.jar [new file with mode: 0644]
nbproject/build-impl.xml
nbproject/genfiles.properties
nbproject/project.properties
nbproject/project.xml
src/java/org/mxchange/jjobs/beans/smsprovider/JobsSmsProviderWebApplicationBean.java
src/java/org/mxchange/jjobs/converter/smsprovider/JobsSmsProviderConverter.java

diff --git a/lib/jphone-lib.jar b/lib/jphone-lib.jar
new file mode 100644 (file)
index 0000000..bdeff31
Binary files /dev/null and b/lib/jphone-lib.jar differ
index 226dc27ed10db972c7ef10b8bce9ae75b1e93842..0d03157fd63c8f5d36c0aa81c635bb86be861ada 100644 (file)
@@ -1037,6 +1037,7 @@ exists or setup the property manually. For example like this:
         <copyfiles files="${file.reference.jcountry-core.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.jcountry-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.jphone-core.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jphone-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.juser-core.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${file.reference.juser-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${reference.jjobs-lib.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
@@ -1051,6 +1052,7 @@ exists or setup the property manually. For example like this:
         <copyfiles files="${file.reference.jcountry-core.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${file.reference.jcountry-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${file.reference.jphone-core.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.jphone-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${file.reference.juser-core.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${file.reference.juser-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${reference.jjobs-lib.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
index 5eb7f85f8bd55efc2f47a0f85ffb0b1a2077bd0e..91ae2379b96f405ad6548fbb6f38d71b53d77d24 100644 (file)
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=b9ff954e
+build.xml.data.CRC32=358d2e1f
 build.xml.script.CRC32=fae72669
 build.xml.stylesheet.CRC32=651128d4@1.75.1.1
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=b9ff954e
-nbproject/build-impl.xml.script.CRC32=fca932bd
+nbproject/build-impl.xml.data.CRC32=358d2e1f
+nbproject/build-impl.xml.script.CRC32=9775b80c
 nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.75.1.1
index 6c8370932eac8723db338bc579bd9dee81222446..ab0812270f80d8cf693f87c099bea5508e437555 100644 (file)
@@ -42,6 +42,7 @@ file.reference.jcoreee.jar=lib/jcoreee.jar
 file.reference.jcountry-core.jar=lib/jcountry-core.jar
 file.reference.jcountry-lib.jar=lib/jcountry-lib.jar
 file.reference.jphone-core.jar=lib/jphone-core.jar
+file.reference.jphone-lib.jar=lib/jphone-lib.jar
 file.reference.juser-core.jar=lib/juser-core.jar
 file.reference.juser-lib.jar=lib/juser-lib.jar
 includes=**
@@ -65,6 +66,7 @@ javac.classpath=\
     ${file.reference.jcountry-core.jar}:\
     ${file.reference.jcountry-lib.jar}:\
     ${file.reference.jphone-core.jar}:\
+    ${file.reference.jphone-lib.jar}:\
     ${file.reference.juser-core.jar}:\
     ${file.reference.juser-lib.jar}:\
     ${reference.jjobs-lib.jar}
@@ -114,6 +116,7 @@ source.reference.jcoreee.jar=../jcoreee/src/
 source.reference.jcountry-core.jar=../jcountry-core/src/
 source.reference.jcountry-lib.jar=../jcountry-lib/src/
 source.reference.jphone-core.jar=../jphone-core/src/
+source.reference.jphone-lib.jar=../jphone-lib/src/
 source.reference.juser-core.jar=../juser-core/src/
 source.reference.juser-lib.jar=../juser-lib/src/
 source.root=src
index 352befef12e5ebdae540ecb61864f0685993cd8f..53d698731d395a2b1d87a41ca4238969a2ae1559 100644 (file)
                     <file>${file.reference.jphone-core.jar}</file>
                     <path-in-war>WEB-INF/lib</path-in-war>
                 </library>
+                <library dirs="200">
+                    <file>${file.reference.jphone-lib.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
                 <library dirs="200">
                     <file>${file.reference.juser-core.jar}</file>
                     <path-in-war>WEB-INF/lib</path-in-war>
index f8feebaea1f7a341475257623d532d02f6a3678b..2314b22f4a7abd989f47bb70743d2c3647cc1a2e 100644 (file)
@@ -25,8 +25,8 @@ import javax.inject.Named;
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
-import org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote;
 import org.mxchange.jphone.phonenumbers.smsprovider.SmsProvider;
+import org.mxchange.jphone.phonenumbers.smsprovider.SmsProviderSingletonBeanRemote;
 
 /**
  * A SMS provider bean
@@ -45,7 +45,7 @@ public class JobsSmsProviderWebApplicationBean implements JobsSmsProviderWebAppl
        /**
         * Remote country EJB
         */
-       private JobsSmsProviderSingletonBeanRemote cellphoneBean;
+       private SmsProviderSingletonBeanRemote cellphoneBean;
 
        /**
         * List of all countries
@@ -62,7 +62,7 @@ public class JobsSmsProviderWebApplicationBean implements JobsSmsProviderWebAppl
                        Context context = new InitialContext();
 
                        // Try to lookup the bean
-                       this.cellphoneBean = (JobsSmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N
+                       this.cellphoneBean = (SmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw
                        throw new FaceletException(ex);
index b54f9b08546b2b3d950dfe4e9c3d02238c49fb5b..543b7f1d9436be143058d6d3691aa23cb1592613 100644 (file)
@@ -28,8 +28,8 @@ import javax.naming.InitialContext;
 import javax.naming.NamingException;
 import org.mxchange.jcoreeelogger.beans.local.logger.Log;
 import org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal;
-import org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote;
 import org.mxchange.jphone.phonenumbers.smsprovider.SmsProvider;
+import org.mxchange.jphone.phonenumbers.smsprovider.SmsProviderSingletonBeanRemote;
 
 /**
  * Converter for SMS provider instance
@@ -48,7 +48,7 @@ public class JobsSmsProviderConverter implements Converter {
        /**
         * SMS provider bean
         */
-       private JobsSmsProviderSingletonBeanRemote providerController;
+       private SmsProviderSingletonBeanRemote providerController;
 
        /**
         * Initialization of this converter
@@ -63,7 +63,7 @@ public class JobsSmsProviderConverter implements Converter {
                        this.loggerBeanLocal = (LoggerBeanLocal) context.lookup("java:global/jcore-logger-ejb/logger!org.mxchange.jcoreeelogger.beans.local.logger.LoggerBeanLocal"); //NOI18N
 
                        /// and SMS provider controller
-                       this.providerController = (JobsSmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N
+                       this.providerController = (SmsProviderSingletonBeanRemote) context.lookup("java:global/jjobs-ejb/smsprovider!org.mxchange.jphone.phonenumbers.smsprovider.JobsSmsProviderSingletonBeanRemote"); //NOI18N
                } catch (final NamingException ex) {
                        // Continue to throw it
                        throw new RuntimeException("context.lookup() failed.", ex); //NOI18N