diff --git a/base/src/main/java/de/staropensource/sosengine/base/Engine.java b/base/src/main/java/de/staropensource/sosengine/base/Engine.java index 71ca997c..20e1587f 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/Engine.java +++ b/base/src/main/java/de/staropensource/sosengine/base/Engine.java @@ -89,10 +89,7 @@ public class Engine { EngineConfiguration.getInstance().loadConfiguration(); // Initialize classes - // Sorted in rough order of dependence - new EngineInformation(); - new PlaceholderEngine(); - new ShortcodeConverter(); + initializeClasses(); // Populate crash content populateCrashContent(); @@ -107,6 +104,18 @@ public class Engine { logger.info("Initialized sos!engine v%engine_version% in " + initTime + "ms"); } + /** + * Initializes all classes. + * + * @since 1-alpha0 + */ + protected void initializeClasses() { + // Sorted in rough order of dependence + new EngineInformation(); + new PlaceholderEngine(); + new ShortcodeConverter(); + } + /** * This method populates the Crash Handler's content with the default set of content. *