public abstract class EzyAbstractComplexContext extends EzyAbstractContext implements EzyComplexContext
| Modifier and Type | Field and Description |
|---|---|
protected Set<EzyAppContext> |
appContexts |
protected Map<Integer,EzyAppContext> |
appContextsById |
protected Set<EzyPluginContext> |
pluginContexts |
protected Map<Integer,EzyPluginContext> |
pluginContextsById |
commandSuppliers, component, handleException, logger| Constructor and Description |
|---|
EzyAbstractComplexContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAppContext(EzyAppSetting app,
EzyAppContext appContext) |
void |
addAppContexts(Collection<EzyAppContext> appContexts) |
void |
addPluginContext(EzyPluginSetting plugin,
EzyPluginContext pluginContext) |
void |
addPluginContexts(Collection<EzyPluginContext> pluginContexts) |
protected void |
clearProperties() |
void |
destroy() |
protected void |
destroyComponents() |
EzyAppContext |
getAppContext(int appId) |
Collection<EzyAppContext> |
getAppContexts() |
EzyPluginContext |
getPluginContext(int pluginId) |
Collection<EzyPluginContext> |
getPluginContexts() |
addCommand, addCommandSuppliers, defaultCommandSuppliers, handleEvent, handleException, init, init0, postDestroy, preDestroycontainsKey, getProperties, getProperty, getProperty, removeProperty, setProperties, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbroadcast, send, send, send, send, send, send, stream, stream, stream, streamcmd, get, handleEvent, handleExceptionprotected final Set<EzyAppContext> appContexts
protected final Map<Integer,EzyAppContext> appContextsById
protected final Set<EzyPluginContext> pluginContexts
protected final Map<Integer,EzyPluginContext> pluginContextsById
public void addAppContext(EzyAppSetting app, EzyAppContext appContext)
public void addAppContexts(Collection<EzyAppContext> appContexts)
public void addPluginContext(EzyPluginSetting plugin, EzyPluginContext pluginContext)
public void addPluginContexts(Collection<EzyPluginContext> pluginContexts)
public EzyAppContext getAppContext(int appId)
getAppContext in interface EzyComplexContextpublic Collection<EzyAppContext> getAppContexts()
getAppContexts in interface EzyAppContextsFetcherpublic Collection<EzyPluginContext> getPluginContexts()
getPluginContexts in interface EzyPluginContextsFetcherpublic EzyPluginContext getPluginContext(int pluginId)
getPluginContext in interface EzyComplexContextpublic final void destroy()
destroy in interface com.tvd12.ezyfox.util.EzyDestroyabledestroy in class EzyAbstractContextprotected void clearProperties()
protected void destroyComponents()
Copyright © 2021 Young Monkeys. All rights reserved.