public class StartupHelper
extends java.lang.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(ej.wadapps.application.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(ej.wadapps.application.ApplicationManager applicationManager)
Stops all the applications available in an application manager.
|
public static void startAllApplications()
ej.service.MissingServiceException
- if no application manager is registered.ServiceFactory.getServiceLoader()
public static void startAllApplications(ej.wadapps.application.ApplicationManager applicationManager)
applicationManager
- the application manager that contains the applications.public static void stopAllApplications()
ej.service.MissingServiceException
- if no application manager is registered.ServiceFactory.getServiceLoader()
public static void stopAllApplications(ej.wadapps.application.ApplicationManager applicationManager)
applicationManager
- the application manager that contains the applications.