public class Hive extends HiveCommon
DEFAULT_RESULT| Modifier | Constructor and Description |
|---|---|
|
Hive()
Default Constructor
|
protected |
Hive(Configurator configurator) |
|
Hive(RootType root) |
|
Hive(String uri) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContinuousCommand(ContinuousCommand command) |
void |
addQueue(CommandQueue queue) |
void |
addTrigger(TriggerCommand command)
Add a new trigger command
|
String |
getHiveId()
Get a unique ID for you hive type
|
protected void |
performStart()
Called then the hive should perform its startup procedure
|
protected void |
performStop()
Called then the hive should perform its shutdown procedure
|
protected void |
startQueues()
Initializes all configured command queues and executes them in threads
|
protected void |
stopQueues() |
addDataItemValidator, addItemFactory, addItemSubscriptionListener, addSessionListener, closeSession, createSession, createSession, getBrowser, getGrantedItems, getOperationService, getValidationStrategy, handleSessionCreated, isAutoEnableStats, lookupItem, processWrite, processWriteAttributes, registerItem, removeItemFactory, removeItemSubscriptionListener, removeItemValidator, removeSessionListener, retrieveItem, setAutoEnableStats, setRootFolder, setValidatonStrategy, start, startWrite, startWriteAttributes, stop, subscribeItem, unregisterItem, unsubscribeItem, validateItem, validateSessionauthorize, authorize, extractPrivileges, fillSessionProperties, loginUser, makeEffectiveUserInformation, setAuditLogService, setAuthenticationImplementation, setAuthorizationImplementationpublic Hive()
throws IOException,
ConfigurationException
XmlExceptionIOExceptionConfigurationExceptionpublic Hive(String uri) throws ConfigurationException
ConfigurationExceptionpublic Hive(RootType root) throws ConfigurationException
ConfigurationExceptionprotected Hive(Configurator configurator) throws ConfigurationException
ConfigurationExceptionpublic String getHiveId()
HiveCommongetHiveId in class HiveCommonprotected void startQueues()
protected void performStart()
throws Exception
HiveCommon
This is internally dispatched when the HiveCommon.start() method was called
and the hive was not already started.
performStart in class HiveCommonExceptionprotected void performStop()
throws Exception
HiveCommon
This is internally dispatched when the HiveCommon.stop() method was called
and the hive was already started.
performStop in class HiveCommonExceptionprotected void stopQueues()
public void addQueue(CommandQueue queue)
public void addContinuousCommand(ContinuousCommand command)
public void addTrigger(TriggerCommand command)
command - the new trigger commandCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.