File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/org/javawebstack/framework Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,8 @@ public WebApplication(){
112112 setupServer (server );
113113 modules .forEach (m -> m .setupServer (this , server ));
114114
115+ setupSeeding ();
116+
115117 setupCommands (commandSystem );
116118 modules .forEach (m -> m .setupCommands (this , commandSystem ));
117119 commandSystem .addCommand ("start" , new StartCommand ());
@@ -242,6 +244,7 @@ public I18N getTranslation(){
242244 protected void setupModules (){}
243245 protected abstract void setupConfig (Config config );
244246 protected void setupInjection (SimpleInjector injector ){}
247+ protected void setupSeeding (){}
245248 protected abstract void setupModels (SQL sql ) throws ORMConfigurationException ;
246249 protected abstract void setupServer (HTTPServer server );
247250 protected abstract void setupCommands (CommandSystem system );
You can’t perform that action at this time.
0 commit comments