From: Roland Haeder Date: Sun, 11 Oct 2015 20:28:12 +0000 (+0200) Subject: Launch this at startup ... :/ X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a2d1087f461a96aac5ab12f741a09d554d94dbd;p=jfinancials-ejb.git Launch this at startup ... :/ --- diff --git a/src/java/org/mxchange/jcountry/data/AddressbookCountrySingletonBean.java b/src/java/org/mxchange/jcountry/data/AddressbookCountrySingletonBean.java index 311c348..57bc0f5 100644 --- a/src/java/org/mxchange/jcountry/data/AddressbookCountrySingletonBean.java +++ b/src/java/org/mxchange/jcountry/data/AddressbookCountrySingletonBean.java @@ -18,6 +18,7 @@ package org.mxchange.jcountry.data; import java.util.List; import javax.ejb.Singleton; +import javax.ejb.Startup; import javax.persistence.Query; import org.mxchange.jcoreee.database.BaseDatabaseBean; @@ -26,6 +27,7 @@ import org.mxchange.jcoreee.database.BaseDatabaseBean; *

* @author Roland Haeder */ +@Startup @Singleton (name = "country", mappedName = "ejb/addressbook-singleton-country", description = "A singleton session bean for country informations") public class AddressbookCountrySingletonBean extends BaseDatabaseBean implements AddressbookCountrySingletonBeanRemote {