]> git.mxchange.org Git - addressbook-mailer-ejb.git/commitdiff
Launch this at startup ... :/
authorRoland Haeder <roland@mxchange.org>
Sun, 11 Oct 2015 20:28:12 +0000 (22:28 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 11 Oct 2015 20:28:12 +0000 (22:28 +0200)
src/java/org/mxchange/jcountry/data/AddressbookCountrySingletonBean.java

index 311c348977cdcfdd7df9a951b408e947fd423b6f..57bc0f5ce36336e7d47e2c2d2347a103fda56c87 100644 (file)
@@ -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;
  * <p>
  * @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 {