From f22b74a0ebe0131a127e57911891c0253450859a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 12 Oct 2015 11:05:16 +0200 Subject: [PATCH] =?utf8?q?Continued:=20-=20added=20singleton=20bean=20for?= =?utf8?q?=20SMS=20provider=20(information=20won't=20change=20often)=20-?= =?utf8?q?=20updated=20jars=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcoreee.jar | Bin 18176 -> 18204 bytes lib/jphone-core.jar | Bin 17075 -> 19467 bytes .../AddressbookSmsProviderSingletonBean.java | 49 ++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBean.java diff --git a/lib/jcoreee.jar b/lib/jcoreee.jar index 7b88b148a9b687ad7c8259e8bd8fc3a6689750ee..093433c9bcb8dc508c42f20a649f82a3d7f6cbdc 100644 GIT binary patch delta 1071 zcmY+CO-NKx6vzMf&BxW}bH>Jx(Hff>9jBa98z)o8YQA(bM|3i+nX)hlB3eXkiol#G zE9nF520;XF+O!Ih(iTDOs+FsP+O%lVA~0JCL3Yj)$sXMMJMVwb{oi{Jr*L09xi5@t z#$wfhB4BiQ+Gx~{4^Ov0(kNc^@%*ciW>qV~jI4+ml+_+`Y?iwBLKk%s`zVKTDJUXCe<8JlUQLD~)oh`?7*s)K? ze#CUdk&s9hAtlkRqX%gnRvaiouf#zeI{Ku_M8b2c`b(`mBQYQ`NSPA#v`ZqZ-j#;R zD^N+YfkPM~$-rUI6RNhUosLk+h=C(GYM=r+b;@ztQh~f$cIQ>1$UWzG_K67%rEoxC zGn^kWx!4Rw6%Z zE4*Y)c488e@_{L#zL(vbV5=zI0ys$L_M;esv^<0$j$#+`h+ve8c#@PMAC$fyUiIWU}a%k<(qo$K)Kl_s& zwVd3;YGW$LxSkp-{jamt&s3flGTk2Sq04OXLU)^wbNnk~&tF&p9wStn_3!DmDzBO7 z^F@`OcJcOTk4M`dFx8(zSBsidg`RrT=F97rTa#qLBeU*7e0uG3(}oS@%F$e-%F2-rIZTgTk!+s*AM?9A_{^=Lm~^}!f0ZQAyMkW57Cgo z!j$7kw7NQD(4tjGOspuiWVfZnCY7C+VCs2!%=%d^qMv0xlC7i<*oX1UEGz%D` zC;TXf8y=+5IXX}XFMa)N#83nudFCRFVq!EDnAj}TWd3pNHmjdN2}-F(-VUIQN?}$` zHdf--QGrU>$S6S#@zCiFT&D7ZbecV+48ZoAT+<|KB=$<|lh`kDK%!QnP7o8+!nzIE z+}r-^i=cx$xaal%&uenQnJ{>qyl%gZvCDTamGN`M7i$KO*NyVk>oYW3Gg5sBm8(Qs zp8DoYO;*<2k*r$^{jw6OrRF*s{OPbc(9v);=Prcn7#713hVS7nhNeiI;Z~%VVJe!h zeniZ9$%t^fc4 diff --git a/lib/jphone-core.jar b/lib/jphone-core.jar index 0cc0e98f7639332412ce960fccca191ceb400225..f7da496b94a16d7157abd650b5df779de84fa779 100644 GIT binary patch literal 19467 zcmeHPYiwM{bv}2wGt0jJ21{wvV_Xi@Zs z+waWW$K1==-OGoQ#t4ah+Rg1=NCq1r)I5EVa2Z2h8OKhwNNgd z&zu<vl!96_u)W{3%squ4AQTSBXs_T{V z<3ir9G!W@%9afL6Vj*wU%3E}MX!HmFel$kJuXA;X16?ywu!`1$qJ2Yj)kv;rRjWVx z@O$3}?elcdq#l!cP3kjf|EgV^V`CUEZ#>zZFRW%~%B59sPr2N=M0bC<05j=unaEb+hD+n#=yXer zVPuY%^R_{~fy$;!HG9>rpuSF*)-T$p*6NlN($AMSDmi*}0lQJ>piOoSnBT=+MGvxl7v&GAM>u3pz6qH!#_?65+FrO!1kZr1(tH zKJl4$uG^jK4%#p7chUiHfco(sqwe5L^Mz9%oO=r8_;m#Znl{HD&ExL4)*9biDQc$& zNlH_W-|{Be30g^^6{~#xFhPX`Ju>MtDO?pzS~IC+Qdx8mE5VtNZ%(#jI&WS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8s% z0)QL8II*SAz;19Hg6+7Xg6ttEh60-9_5vG$Jjh2K41FoZehjdc6E(ly{EX`WeOD<(^NvtkL7W} zZxwS**cy3)VMGZAwNNJ{?GCFe>SNEkR`!BV@ETKMtqh=*;09K*V27~cS9Zr2Jl6TB zm7#U51eCp?|JCRYfu~@+9)&l04m|dxHS3L^ex)2=^Phz61TN~vw80F_;Jc-4SNR-XB(26J{ z^!1ukgVED<#YpK^k*9+L(2d+GI4Hv31BV3d6$xj?0QccnOt^j+2oGWlV(3e=Bw=+6 zeQR|ob?eg459{U<0jTX3@xJ{c0Ly`t@SX;{SDj3`G zX+!yEh%ai@0%LZk^AUUzo_b~I(?UO8i2sDIH=Hjq1y>#Xy!%aotq-!R@ZP(@ujecY zc-_hEXPZ~yMHq8KHgC<}t3i|zz%JzbRTTO8vMg?Q+W1%YW&TCMhQ~u1H4_HNF895o7-`h5`zPTK*M=TIzqj z{pZ)EIsj@u#EysO7iBoQ^dLjC4l}%kx>oAisB4#@LxxTn_JyX49wdZJWmg$<@mDJ? z{JU}&W)RbXtEM*Od%ksR&@`X)UkP9S%A1PFEJPaa^xbPvbG1 z;I#Hfr8$$5fv!s1491ZzJQ~C$L!jze$-pGDD)Khvi@q{^obn%hUV3h3`o)X1%U?#b z1;1Ea@wd{<9_S`=D$q&fX5au3M}1GmBkxnhK;*Z0<~4~Mw>ZReHMPMcnB!il5l*Cw zXLM>}jy_sVWaDx}nlziDe8|L?tfJ&a-{*t3P>34chLPXmnNt?zb@B7tj6B1p;VX>> zVKwfKiEtxD7p*8zLX2eY`^GeBY&)6b_NJXeG_G{Si7q)5MrS&|(xljl!%7_U?LuB# qUx?7L@r7n#%hQ}DjhBhlA1#Uee3i!9(X7^xR0{sz!qGiZr~d}CND|Ee diff --git a/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBean.java b/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBean.java new file mode 100644 index 0000000..66daee7 --- /dev/null +++ b/src/java/org/mxchange/jphone/phonenumbers/smsprovider/AddressbookSmsProviderSingletonBean.java @@ -0,0 +1,49 @@ +/* + * 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.jphone.phonenumbers.smsprovider; + +import java.util.List; +import javax.ejb.Singleton; +import javax.ejb.Startup; +import javax.persistence.Query; +import org.mxchange.jcoreee.database.BaseDatabaseBean; + +/** + * A singleton bean for country informations + *

+ * @author Roland Haeder + */ +@Startup +@Singleton (name = "smsprovider", mappedName = "ejb/addressbook-singleton-smsprovider", description = "A singleton session bean for SMS provider informations") +public class AddressbookSmsProviderSingletonBean extends BaseDatabaseBean implements AddressbookSmsProviderSingletonBeanRemote { + + /** + * Serial number + */ + private static final long serialVersionUID = 15_846_983_298_691_207L; + + @Override + @SuppressWarnings ("unchecked") + public List allSmsProvider () { + // Init query + Query query = this.getEntityManager().createNamedQuery("AllSmsProvider"); //NOI18N + + // Return it + return query.getResultList(); + } + +} -- 2.39.5