public class SpringSpongeEngine extends BaseSpongeEngine implements org.springframework.context.ApplicationContextAware, org.springframework.context.SmartLifecycle
actionManager, configurationManager, eventQueueManager, eventQueueProvider, eventScheduler, inputQueue, knowledgeBaseFileProvider, knowledgeBaseInterpreterFactoryProviders, knowledgeBaseManager, lock, moduleProvider, pluginManager, processingUnitManager, processingUnitProvider, processorManager, session, statisticsManager, threadPoolManager| Constructor and Description |
|---|
SpringSpongeEngine()
Creates a new engine.
|
| Modifier and Type | Method and Description |
|---|---|
static SpringEngineBuilder |
builder()
Builder for creating an engine.
|
org.springframework.context.ApplicationContext |
getApplicationContext() |
int |
getPhase() |
boolean |
isAutoStartup() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setAutoStartup(boolean autoStartup) |
void |
setPhase(int phase) |
void |
start() |
void |
stop() |
addCategories, addCategory, addEventType, addOnShutdownListener, addOnStartupListener, addType, clearError, clearRememberedException, configureEngineModules, createProcessInstance, doShutdown, doStartup, ensureProvidersSet, getActionManager, getActionMeta, getActions, getCategories, getCategory, getConfigurationFilename, getConfigurationManager, getCorrelatorGroups, getCorrelatorMeta, getDefaultParameters, getError, getEventQueueManager, getEventScheduler, getEventSetProcessorDurationStrategy, getEventType, getEventTypes, getExceptionHandler, getFilterMeta, getFilterProcessingUnit, getFilters, getInfo, getInputQueue, getKnowledgeBaseFileProvider, getKnowledgeBaseInterpreterFactoryProviders, getKnowledgeBaseManager, getLicense, getMainProcessingUnit, getModuleProvider, getOnShutdownListeners, getOnStartupListeners, getOperations, getPatternMatcher, getPluginManager, getPlugins, getProcessingUnitManager, getProcessorManager, getProcessors, getRememberedException, getRuleGroups, getRuleMeta, getSession, getStatisticsManager, getThreadPoolManager, getTriggerMeta, getTriggers, getType, getType, getTypes, getUuid, getVersion, handleError, handleError, handleError, hasCategory, hasEventType, hasType, init, isError, reload, removeCategory, removeEventType, removeOnShutdownListener, removeOnStartupListener, removeType, requestReload, requestShutdown, safelyShutdownIfStartupError, selectCategory, selectCategory, setConfigurationFilename, setEventQueueProvider, setEventSetProcessorDurationStrategy, setExceptionHandler, setKnowledgeBaseFileProvider, setKnowledgeBaseInterpreterFactoryProviders, setLicense, setModuleProvider, setPatternMatcher, setProcessingUnitProvider, setupEngineDescriptions, setupRegisteredTypeInstance, startup, tryRememberExceptiongetDescription, getEngine, getInternalService, getLabel, getName, getState, isFailed, isNew, isNewOrStartingOrRunning, isRunning, isStarting, isStopping, isTerminated, setDescription, setEngine, setLabel, setName, shutdown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisFailed, isNew, isRunning, isStarting, isStopping, isTerminated, shutdownpublic static SpringEngineBuilder builder()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic org.springframework.context.ApplicationContext getApplicationContext()
public boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void setAutoStartup(boolean autoStartup)
public void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic void setPhase(int phase)
public int getPhase()
getPhase in interface org.springframework.context.PhasedgetPhase in interface org.springframework.context.SmartLifecycleCopyright © 2016–2020 Softelnet. All rights reserved.