X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjava%2Forg%2Fmxchange%2Fjjobs%2Fbeans%2Fcountry%2FJobsCountryWebApplicationBean.java;h=ff02ee7a6ee202a5d04d476c9b046712c7f4e2fe;hb=13a7635c2c9530244b7178f8b1cfc8bab1f28600;hp=d52d26850cdb201405e0d9bf920d5c63df56a20f;hpb=90e3b0a12c34570df6b3dac266125d30fc7cec3c;p=jjobs-war.git diff --git a/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java b/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java index d52d2685..ff02ee7a 100644 --- a/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java +++ b/src/java/org/mxchange/jjobs/beans/country/JobsCountryWebApplicationBean.java @@ -17,7 +17,6 @@ package org.mxchange.jjobs.beans.country; import java.text.MessageFormat; -import java.util.Collections; import java.util.List; import javax.annotation.PostConstruct; import javax.enterprise.context.ApplicationScoped; @@ -30,15 +29,16 @@ import javax.naming.NamingException; import org.mxchange.jcountry.data.Country; import org.mxchange.jcountry.data.CountrySingletonBeanRemote; import org.mxchange.jcountry.events.AdminAddedCountryEvent; +import org.mxchange.jjobs.beans.BaseJobsController; /** * A country bean *

* @author Roland Haeder */ -@Named ("country") +@Named ("countryController") @ApplicationScoped -public class JobsCountryWebApplicationBean implements JobsCountryWebApplicationController { +public class JobsCountryWebApplicationBean extends BaseJobsController implements JobsCountryWebApplicationController { /** * Serial number @@ -96,7 +96,7 @@ public class JobsCountryWebApplicationBean implements JobsCountryWebApplicationC @Override public List allCountries () { // Return "cached" version - return Collections.unmodifiableList(this.countryList); + return this.countryList; } /**