From 4907fc6492ee5ce6a2aa1685b22290c41f63c30b Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 2 Oct 2015 09:49:36 +0200 Subject: [PATCH] =?utf8?q?Renaming=20season:=20renamed=20manager=20->=20fa?= =?utf8?q?cade=20Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jcore/BaseFrameworkSystem.java | 14 +++++++------- src/org/mxchange/jcore/FrameworkInterface.java | 4 ++-- src/org/mxchange/jcore/client/BaseClient.java | 2 +- .../BaseManager.java => facade/BaseFacade.java} | 6 +++--- .../Manageable.java => facade/Facade.java} | 8 ++++---- .../manager/application/ApplicationManager.java | 4 ++-- .../manager/application/ManageableApplication.java | 4 ++-- 7 files changed, 21 insertions(+), 21 deletions(-) rename src/org/mxchange/jcore/{manager/BaseManager.java => facade/BaseFacade.java} (85%) rename src/org/mxchange/jcore/{manager/Manageable.java => facade/Facade.java} (85%) diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index 2656f85..0dd6a56 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -20,7 +20,7 @@ import java.util.ResourceBundle; import java.util.StringTokenizer; import org.mxchange.jcore.application.Application; import org.mxchange.jcore.client.Client; -import org.mxchange.jcore.manager.Manageable; +import org.mxchange.jcore.facade.Facade; /** * General class @@ -52,7 +52,7 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { /** * Manager instance */ - private Manageable manager; + private Facade facade; /** * Initialize object @@ -154,17 +154,17 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { } @Override - public Manageable getManager () { - return this.manager; + public Facade getFacade () { + return this.facade; } /** * Manager instance *

- * @param manager the manager instance to set + * @param facade the facade instance to set */ - protected void setManager (final Manageable manager) { - this.manager = manager; + protected void setFacade (final Facade facade) { + this.facade = facade; } @Override diff --git a/src/org/mxchange/jcore/FrameworkInterface.java b/src/org/mxchange/jcore/FrameworkInterface.java index 1c02de6..2a9a6bd 100644 --- a/src/org/mxchange/jcore/FrameworkInterface.java +++ b/src/org/mxchange/jcore/FrameworkInterface.java @@ -18,7 +18,7 @@ package org.mxchange.jcore; import org.mxchange.jcore.application.Application; import org.mxchange.jcore.client.Client; -import org.mxchange.jcore.manager.Manageable; +import org.mxchange.jcore.facade.Facade; /** * A general interface which should be always expanded @@ -51,7 +51,7 @@ public interface FrameworkInterface { *

* @return Manager instance */ - public Manageable getManager (); + public Facade getFacade (); /** * Getter for human-readable string from given key diff --git a/src/org/mxchange/jcore/client/BaseClient.java b/src/org/mxchange/jcore/client/BaseClient.java index b8567c3..945a0df 100644 --- a/src/org/mxchange/jcore/client/BaseClient.java +++ b/src/org/mxchange/jcore/client/BaseClient.java @@ -44,7 +44,7 @@ public abstract class BaseClient extends BaseFrameworkSystem implements Client { this.disableIsRunning(); // Shuts down contact manager - this.getManager().doShutdown(); + this.getFacade().doShutdown(); } @Override diff --git a/src/org/mxchange/jcore/manager/BaseManager.java b/src/org/mxchange/jcore/facade/BaseFacade.java similarity index 85% rename from src/org/mxchange/jcore/manager/BaseManager.java rename to src/org/mxchange/jcore/facade/BaseFacade.java index 3445f98..9e7c169 100644 --- a/src/org/mxchange/jcore/manager/BaseManager.java +++ b/src/org/mxchange/jcore/facade/BaseFacade.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jcore.manager; +package org.mxchange.jcore.facade; import org.mxchange.jcore.BaseFrameworkSystem; @@ -24,11 +24,11 @@ import org.mxchange.jcore.BaseFrameworkSystem; * @author Roland Haeder * @version 0.0 */ -public abstract class BaseManager extends BaseFrameworkSystem implements Manageable { +public abstract class BaseFacade extends BaseFrameworkSystem implements Facade { /** * No instances can be created of this class */ - protected BaseManager () { + protected BaseFacade () { } } diff --git a/src/org/mxchange/jcore/manager/Manageable.java b/src/org/mxchange/jcore/facade/Facade.java similarity index 85% rename from src/org/mxchange/jcore/manager/Manageable.java rename to src/org/mxchange/jcore/facade/Facade.java index 5213c74..315329c 100644 --- a/src/org/mxchange/jcore/manager/Manageable.java +++ b/src/org/mxchange/jcore/facade/Facade.java @@ -14,21 +14,21 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jcore.manager; +package org.mxchange.jcore.facade; import java.io.IOException; import java.sql.SQLException; import org.mxchange.jcore.FrameworkInterface; /** - * A general interface for any kind of manager classes + * A general interface for any kind of facade classes *

* @author Roland Haeder */ -public interface Manageable extends FrameworkInterface { +public interface Facade extends FrameworkInterface { /** - * Shuts down this contact manager + * Shuts down this facade *

* @throws java.sql.SQLException If an SQL error occurs * @throws java.io.IOException If an IO error occurs diff --git a/src/org/mxchange/jcore/manager/application/ApplicationManager.java b/src/org/mxchange/jcore/manager/application/ApplicationManager.java index c20012b..fc988e5 100644 --- a/src/org/mxchange/jcore/manager/application/ApplicationManager.java +++ b/src/org/mxchange/jcore/manager/application/ApplicationManager.java @@ -18,14 +18,14 @@ package org.mxchange.jcore.manager.application; import org.mxchange.jcore.application.Application; import org.mxchange.jcore.exceptions.MenuInitializationException; -import org.mxchange.jcore.manager.BaseManager; +import org.mxchange.jcore.facade.BaseFacade; /** * Application manager *

* @author Roland Haeder */ -public class ApplicationManager extends BaseManager implements ManageableApplication { +public class ApplicationManager extends BaseFacade implements ManageableApplication { /** * Self instance of this manager diff --git a/src/org/mxchange/jcore/manager/application/ManageableApplication.java b/src/org/mxchange/jcore/manager/application/ManageableApplication.java index 9c91fe7..b2a8d3a 100644 --- a/src/org/mxchange/jcore/manager/application/ManageableApplication.java +++ b/src/org/mxchange/jcore/manager/application/ManageableApplication.java @@ -17,14 +17,14 @@ package org.mxchange.jcore.manager.application; import org.mxchange.jcore.exceptions.MenuInitializationException; -import org.mxchange.jcore.manager.Manageable; +import org.mxchange.jcore.facade.Facade; /** * An interface for application manager *

* @author Roland Haeder */ -public interface ManageableApplication extends Manageable { +public interface ManageableApplication extends Facade { /** * Launches application -- 2.39.5