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;
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
* <p>
* @author Roland Haeder<roland@mxchange.org>
*/
-@Named ("country")
+@Named ("countryController")
@ApplicationScoped
-public class JobsCountryWebApplicationBean implements JobsCountryWebApplicationController {
+public class JobsCountryWebApplicationBean extends BaseJobsController implements JobsCountryWebApplicationController {
/**
* Serial number
@Override
public List<Country> allCountries () {
// Return "cached" version
- return Collections.unmodifiableList(this.countryList);
+ return this.countryList;
}
/**