public class StartupHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
startAllApplications()
Starts all the applications available in the application manager registered in the service loader.
|
static void |
startAllApplications(ApplicationManager applicationManager)
Starts all the applications available in an application manager.
|
static void |
stopAllApplications()
Stops all the applications available in the application manager registered in the service loader.
|
static void |
stopAllApplications(ApplicationManager applicationManager)
Stops all the applications available in an application manager.
|
public static void startAllApplications()
MissingServiceException
- if no application manager is registered.ServiceFactory.getServiceLoader()
public static void startAllApplications(ApplicationManager applicationManager)
applicationManager
- the application manager that contains the applications.public static void stopAllApplications()
MissingServiceException
- if no application manager is registered.ServiceFactory.getServiceLoader()
public static void stopAllApplications(ApplicationManager applicationManager)
applicationManager
- the application manager that contains the applications.