--- /dev/null
+/*
+ * Copyright (C) 2017 Roland Häder<roland@mxchange.org>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jcoreee.events.locale;
+
+import java.util.Locale;
+
+/**
+ * An event being fired when a helper bean should be cleaned.
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public class LocaleChangeEvent implements ObservableLocaleChangeEvent {
+
+ /**
+ * Serial number
+ */
+ private static final long serialVersionUID = 14_689_371_541_856L;
+
+ /**
+ * New locale instance
+ */
+ private final Locale locale;
+
+ /**
+ * Default constructor with new locale
+ * <p>
+ * @param locale New locale instance
+ */
+ public LocaleChangeEvent (final Locale locale) {
+ this.locale = locale;
+ }
+
+ @Override
+ public Locale getLocale () {
+ return this.locale;
+ }
+
+}
--- /dev/null
+/*
+ * Copyright (C) 2017 Roland Häder<roland@mxchange.org>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jcoreee.events.locale;
+
+import java.io.Serializable;
+import java.util.Locale;
+
+/**
+ * An event being fired when a helper bean should be cleaned.
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public interface ObservableLocaleChangeEvent extends Serializable {
+
+ /**
+ * Getter for locale instance
+ * <p>
+ * @return Locale instance
+ */
+ Locale getLocale ();
+
+}