public class EzyAppsStarter extends EzyZoneComponentsStater
| Modifier and Type | Class and Description |
|---|---|
static class |
EzyAppsStarter.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ClassLoader> |
appClassLoaders |
protected ClassLoader |
classLoader |
protected boolean |
enableAppClassLoader |
zoneContext, zoneSetting| Modifier | Constructor and Description |
|---|---|
protected |
EzyAppsStarter(EzyAppsStarter.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static EzyAppsStarter.Builder |
builder() |
protected EzyAppSetting |
getAppByName(String name) |
protected ClassLoader |
getAppClassLoader(String appName,
String appFolder) |
protected EzyAppContext |
getAppContext(String appName) |
protected Class<EzyAppEntryLoader> |
getAppEntryLoaderClass(EzyAppSetting app) |
protected Class<EzyAppEntryLoader> |
getAppEntryLoaderClass(String appName) |
protected Set<String> |
getAppNames() |
protected EzyAppEntryLoader |
newAppEntryLoader(String appName) |
void |
start() |
protected void |
startAllApps() |
protected void |
startApp(String appName) |
protected EzyAppEntry |
startApp(String appName,
EzyAppEntryLoader loader) |
protected final ClassLoader classLoader
protected final boolean enableAppClassLoader
protected final Map<String,ClassLoader> appClassLoaders
protected EzyAppsStarter(EzyAppsStarter.Builder builder)
public void start()
start in interface com.tvd12.ezyfox.util.EzyStartablestart in class EzyZoneComponentsStaterprotected void startAllApps()
protected void startApp(String appName)
protected EzyAppEntry startApp(String appName, EzyAppEntryLoader loader) throws Exception
Exceptionprotected EzyAppSetting getAppByName(String name)
protected Class<EzyAppEntryLoader> getAppEntryLoaderClass(String appName) throws Exception
Exceptionprotected Class<EzyAppEntryLoader> getAppEntryLoaderClass(EzyAppSetting app) throws Exception
Exceptionprotected EzyAppEntryLoader newAppEntryLoader(String appName) throws Exception
Exceptionprotected ClassLoader getAppClassLoader(String appName, String appFolder)
protected EzyAppContext getAppContext(String appName)
public static EzyAppsStarter.Builder builder()
Copyright © 2021 Young Monkeys. All rights reserved.