public class MainRunner extends Object
Constructor and Description |
---|
MainRunner() |
Modifier and Type | Method and Description |
---|---|
static void |
doMain(String[] args,
StallionJavaPlugin[] plugins)
Actually boot and run Stallion
|
static void |
main(String[] args)
Run Stallion
|
static void |
mainWithPlugins(String[] args,
StallionJavaPlugin... plugins)
Run main, and manually register plugins, rather than have plugins loaded via the /jars folder.
|
static void |
reboot(String[] args,
StallionJavaPlugin[] plugins)
Reboot the application context.
|
static void |
runWithAutoReload(String[] args,
StallionJavaPlugin[] plugins)
Runs the main Stallion service in auto-reload mode, which means that if a configuration file,
or a server-side javascript file, or a plugin file is touched, the entire application context
will reload and all server-side javascript will be re-processed.
|
public MainRunner()
public static void main(String[] args) throws Exception
args
- - passed in via the command lineException
public static void mainWithPlugins(String[] args, StallionJavaPlugin... plugins) throws Exception
args
- plugins
- Exception
public static void doMain(String[] args, StallionJavaPlugin[] plugins) throws Exception
args
- plugins
- Exception
public static void runWithAutoReload(String[] args, StallionJavaPlugin[] plugins) throws Exception
args
- plugins
- Exception
public static void reboot(String[] args, StallionJavaPlugin[] plugins) throws Exception
args
- plugins
- Exception
Copyright © 2016. All rights reserved.