public interface ISiteWhereTenantEngine
extends com.sitewhere.spi.server.lifecycle.ITenantLifecycleComponent, com.sitewhere.spi.server.lifecycle.ILifecycleHierarchyRoot
| Modifier and Type | Method and Description |
|---|---|
com.sitewhere.spi.asset.IAssetManagement |
getAssetManagement()
Get the asset management implementation.
|
com.sitewhere.spi.asset.IAssetManagementCacheProvider |
getAssetManagementCacheProvider()
Get the asset management cache provider implementation.
|
com.sitewhere.spi.asset.IAssetModuleManager |
getAssetModuleManager()
Get the asset modules manager instance.
|
com.sitewhere.spi.device.communication.IDeviceCommunication |
getDeviceCommunication()
Get the device communication subsystem implementation.
|
com.sitewhere.spi.device.event.IDeviceEventManagement |
getDeviceEventManagement()
Get the device event management implementation.
|
com.sitewhere.spi.device.IDeviceManagement |
getDeviceManagement()
Get the device management implementation.
|
com.sitewhere.spi.device.IDeviceManagementCacheProvider |
getDeviceManagementCacheProvider()
Get the device management cache provider implementation.
|
com.sitewhere.spi.server.ITenantRuntimeState |
getEngineState()
Get current runtime state of engine.
|
com.sitewhere.spi.device.event.IEventProcessing |
getEventProcessing()
Get the event processing subsystem implementation.
|
IGlobalConfigurationResolver |
getGlobalConfigurationResolver()
Get resolver for global configuration elements.
|
ITenantGroovyConfiguration |
getGroovyConfiguration()
Get tenant-scoped Groovy configuration.
|
ITenantPersistentState |
getPersistentState()
Get state information that is persisted across engine restarts.
|
com.sitewhere.spi.scheduling.IScheduleManagement |
getScheduleManagement()
Get the schedule management implementation.
|
com.sitewhere.spi.scheduling.IScheduleManager |
getScheduleManager()
Get the schedule manager implementation.
|
com.sitewhere.spi.search.external.ISearchProviderManager |
getSearchProviderManager()
Get the search provider manager implementation.
|
org.springframework.context.ApplicationContext |
getSpringContext()
Get Spring
ApplicationContext used to configure the tenant
engine. |
ITenantConfigurationResolver |
getTenantConfigurationResolver()
Get resolver for tenant configuration elements.
|
com.sitewhere.spi.command.ICommandResponse |
issueCommand(java.lang.String command,
com.sitewhere.spi.server.lifecycle.ILifecycleProgressMonitor monitor)
Issue a command to the tenant engine.
|
void |
persistState(ITenantPersistentState state)
Persist the engine state.
|
getTenant, setTenantcanPause, findComponentsOfType, getComponentId, getComponentName, getComponentType, getCreatedDate, getLifecycleComponents, getLifecycleError, getLifecycleStatus, getLogger, initialize, initializeNestedComponent, lifecycleInitialize, lifecyclePause, lifecycleStart, lifecycleStop, lifecycleStop, logState, pause, start, startNestedComponent, stop, stopIGlobalConfigurationResolver getGlobalConfigurationResolver()
ITenantConfigurationResolver getTenantConfigurationResolver()
org.springframework.context.ApplicationContext getSpringContext()
ApplicationContext used to configure the tenant
engine.ITenantGroovyConfiguration getGroovyConfiguration()
com.sitewhere.spi.device.IDeviceManagement getDeviceManagement()
com.sitewhere.spi.device.event.IDeviceEventManagement getDeviceEventManagement()
com.sitewhere.spi.asset.IAssetManagement getAssetManagement()
com.sitewhere.spi.scheduling.IScheduleManagement getScheduleManagement()
throws com.sitewhere.spi.SiteWhereException
com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.device.IDeviceManagementCacheProvider getDeviceManagementCacheProvider()
com.sitewhere.spi.asset.IAssetManagementCacheProvider getAssetManagementCacheProvider()
com.sitewhere.spi.device.communication.IDeviceCommunication getDeviceCommunication()
com.sitewhere.spi.device.event.IEventProcessing getEventProcessing()
com.sitewhere.spi.asset.IAssetModuleManager getAssetModuleManager()
com.sitewhere.spi.search.external.ISearchProviderManager getSearchProviderManager()
com.sitewhere.spi.scheduling.IScheduleManager getScheduleManager()
throws com.sitewhere.spi.SiteWhereException
com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.server.ITenantRuntimeState getEngineState()
ITenantPersistentState getPersistentState() throws com.sitewhere.spi.SiteWhereException
com.sitewhere.spi.SiteWhereExceptionvoid persistState(ITenantPersistentState state) throws com.sitewhere.spi.SiteWhereException
state - com.sitewhere.spi.SiteWhereExceptioncom.sitewhere.spi.command.ICommandResponse issueCommand(java.lang.String command,
com.sitewhere.spi.server.lifecycle.ILifecycleProgressMonitor monitor)
throws com.sitewhere.spi.SiteWhereException
command - monitor - com.sitewhere.spi.SiteWhereException