forked from StarOpenSource/Engine
Move the very internal shutdown event to the non-internal events package
This commit is contained in:
parent
c533a06148
commit
ea93d12151
6 changed files with 6 additions and 32 deletions
|
@ -27,7 +27,7 @@ import de.staropensource.engine.base.implementable.ShutdownHandler;
|
||||||
import de.staropensource.engine.base.implementable.SubsystemClass;
|
import de.staropensource.engine.base.implementable.SubsystemClass;
|
||||||
import de.staropensource.engine.base.implementable.helper.EventHelper;
|
import de.staropensource.engine.base.implementable.helper.EventHelper;
|
||||||
import de.staropensource.engine.base.implementation.versioning.StarOpenSourceVersioningSystem;
|
import de.staropensource.engine.base.implementation.versioning.StarOpenSourceVersioningSystem;
|
||||||
import de.staropensource.engine.base.internal.event.InternalEngineShutdownEvent;
|
import de.staropensource.engine.base.event.InternalEngineShutdownEvent;
|
||||||
import de.staropensource.engine.base.internal.type.DependencySubsystemVector;
|
import de.staropensource.engine.base.internal.type.DependencySubsystemVector;
|
||||||
import de.staropensource.engine.base.logging.PrintStreamService;
|
import de.staropensource.engine.base.logging.PrintStreamService;
|
||||||
import de.staropensource.engine.base.logging.*;
|
import de.staropensource.engine.base.logging.*;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package de.staropensource.engine.base.internal.event;
|
package de.staropensource.engine.base.event;
|
||||||
|
|
||||||
import de.staropensource.engine.base.implementable.Event;
|
import de.staropensource.engine.base.implementable.Event;
|
||||||
import de.staropensource.engine.base.implementable.helper.EventHelper;
|
import de.staropensource.engine.base.implementable.helper.EventHelper;
|
|
@ -22,7 +22,7 @@ package de.staropensource.engine.base.implementable;
|
||||||
import de.staropensource.engine.base.Engine;
|
import de.staropensource.engine.base.Engine;
|
||||||
import de.staropensource.engine.base.annotation.EngineSubsystem;
|
import de.staropensource.engine.base.annotation.EngineSubsystem;
|
||||||
import de.staropensource.engine.base.annotation.EventListener;
|
import de.staropensource.engine.base.annotation.EventListener;
|
||||||
import de.staropensource.engine.base.internal.event.InternalEngineShutdownEvent;
|
import de.staropensource.engine.base.event.InternalEngineShutdownEvent;
|
||||||
import de.staropensource.engine.base.type.DependencyVector;
|
import de.staropensource.engine.base.type.DependencyVector;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
/*
|
|
||||||
* STAROPENSOURCE ENGINE SOURCE FILE
|
|
||||||
* Copyright (c) 2024 The StarOpenSource Engine Authors
|
|
||||||
* Licensed under the GNU Affero General Public License v3
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Events used for engine-internal communication.
|
|
||||||
* These events are meant to be listened on by the base engine and it's subsystems.
|
|
||||||
*/
|
|
||||||
package de.staropensource.engine.base.internal.event;
|
|
|
@ -18,13 +18,13 @@ module sosengine.base {
|
||||||
exports de.staropensource.engine.base.implementable;
|
exports de.staropensource.engine.base.implementable;
|
||||||
exports de.staropensource.engine.base.implementable.helper;
|
exports de.staropensource.engine.base.implementable.helper;
|
||||||
exports de.staropensource.engine.base.utility.information;
|
exports de.staropensource.engine.base.utility.information;
|
||||||
|
exports de.staropensource.engine.base.implementation.shortcode;
|
||||||
exports de.staropensource.engine.base.implementation.versioning;
|
exports de.staropensource.engine.base.implementation.versioning;
|
||||||
exports de.staropensource.engine.base.event;
|
exports de.staropensource.engine.base.event;
|
||||||
exports de.staropensource.engine.base.exception;
|
exports de.staropensource.engine.base.exception;
|
||||||
exports de.staropensource.engine.base.exception.dependency;
|
exports de.staropensource.engine.base.exception.dependency;
|
||||||
exports de.staropensource.engine.base.exception.reflection;
|
exports de.staropensource.engine.base.exception.reflection;
|
||||||
exports de.staropensource.engine.base.exception.versioning;
|
exports de.staropensource.engine.base.exception.versioning;
|
||||||
exports de.staropensource.engine.base.internal.event; // Internal: Required for subsystems
|
|
||||||
exports de.staropensource.engine.base.logging;
|
exports de.staropensource.engine.base.logging;
|
||||||
exports de.staropensource.engine.base.implementation.logging;
|
exports de.staropensource.engine.base.implementation.logging;
|
||||||
exports de.staropensource.engine.base.reflection;
|
exports de.staropensource.engine.base.reflection;
|
||||||
|
@ -34,7 +34,6 @@ module sosengine.base {
|
||||||
exports de.staropensource.engine.base.type.reflection;
|
exports de.staropensource.engine.base.type.reflection;
|
||||||
exports de.staropensource.engine.base.type.vector;
|
exports de.staropensource.engine.base.type.vector;
|
||||||
exports de.staropensource.engine.base.utility;
|
exports de.staropensource.engine.base.utility;
|
||||||
exports de.staropensource.engine.base.implementation.shortcode;
|
|
||||||
|
|
||||||
// Reflection access
|
// Reflection access
|
||||||
opens de.staropensource.engine.base;
|
opens de.staropensource.engine.base;
|
||||||
|
@ -42,13 +41,13 @@ module sosengine.base {
|
||||||
opens de.staropensource.engine.base.implementable;
|
opens de.staropensource.engine.base.implementable;
|
||||||
opens de.staropensource.engine.base.implementable.helper;
|
opens de.staropensource.engine.base.implementable.helper;
|
||||||
opens de.staropensource.engine.base.utility.information;
|
opens de.staropensource.engine.base.utility.information;
|
||||||
|
opens de.staropensource.engine.base.implementation.shortcode;
|
||||||
opens de.staropensource.engine.base.implementation.versioning;
|
opens de.staropensource.engine.base.implementation.versioning;
|
||||||
opens de.staropensource.engine.base.event;
|
opens de.staropensource.engine.base.event;
|
||||||
opens de.staropensource.engine.base.exception;
|
opens de.staropensource.engine.base.exception;
|
||||||
opens de.staropensource.engine.base.exception.dependency;
|
opens de.staropensource.engine.base.exception.dependency;
|
||||||
opens de.staropensource.engine.base.exception.reflection;
|
opens de.staropensource.engine.base.exception.reflection;
|
||||||
opens de.staropensource.engine.base.exception.versioning;
|
opens de.staropensource.engine.base.exception.versioning;
|
||||||
opens de.staropensource.engine.base.internal.event; // Internal: Required for subsystems
|
|
||||||
opens de.staropensource.engine.base.logging;
|
opens de.staropensource.engine.base.logging;
|
||||||
opens de.staropensource.engine.base.implementation.logging;
|
opens de.staropensource.engine.base.implementation.logging;
|
||||||
opens de.staropensource.engine.base.reflection;
|
opens de.staropensource.engine.base.reflection;
|
||||||
|
@ -58,5 +57,4 @@ module sosengine.base {
|
||||||
opens de.staropensource.engine.base.type.reflection;
|
opens de.staropensource.engine.base.type.reflection;
|
||||||
opens de.staropensource.engine.base.type.vector;
|
opens de.staropensource.engine.base.type.vector;
|
||||||
opens de.staropensource.engine.base.utility;
|
opens de.staropensource.engine.base.utility;
|
||||||
opens de.staropensource.engine.base.implementation.shortcode;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ import de.staropensource.engine.base.implementable.helper.EventHelper;
|
||||||
import de.staropensource.engine.base.logging.Logger;
|
import de.staropensource.engine.base.logging.Logger;
|
||||||
import de.staropensource.engine.base.utility.information.EngineInformation;
|
import de.staropensource.engine.base.utility.information.EngineInformation;
|
||||||
import de.staropensource.engine.base.implementation.versioning.StarOpenSourceVersioningSystem;
|
import de.staropensource.engine.base.implementation.versioning.StarOpenSourceVersioningSystem;
|
||||||
import de.staropensource.engine.base.internal.event.InternalEngineShutdownEvent;
|
import de.staropensource.engine.base.event.InternalEngineShutdownEvent;
|
||||||
import de.staropensource.engine.base.type.DependencyVector;
|
import de.staropensource.engine.base.type.DependencyVector;
|
||||||
import de.staropensource.engine.base.utility.Miscellaneous;
|
import de.staropensource.engine.base.utility.Miscellaneous;
|
||||||
import de.staropensource.engine.windowing.implementable.api.ApiClass;
|
import de.staropensource.engine.windowing.implementable.api.ApiClass;
|
||||||
|
|
Loading…
Reference in a new issue