import javax.naming.NamingException;
import org.mxchange.jcountry.data.Country;
import org.mxchange.jcountry.data.CountrySingletonBeanRemote;
-import org.mxchange.pizzaapplication.beans.BasePizzaController;
import org.mxchange.jcountry.events.ObservableAdminAddedCountryEvent;
+import org.mxchange.pizzaapplication.beans.BasePizzaController;
/**
* A country bean
}
}
- @Override
- public void afterAdminAddedCountry (@Observes final ObservableAdminAddedCountryEvent event) {
+ /**
+ * Observing method when the event is fired that an administrator added a
+ * new country
+ * <p>
+ * @param event Event instance
+ */
+ public void afterAdminAddedCountryEvent (@Observes final ObservableAdminAddedCountryEvent event) {
// Is all valid?
if (null == event) {
// Throw NPE