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, validateSession
authorize, authorize, extractPrivileges, fillSessionProperties, loginUser, makeEffectiveUserInformation, setAuditLogService, setAuthenticationImplementation, setAuthorizationImplementation
public Hive() throws IOException, ConfigurationException
XmlException
IOException
ConfigurationException
public Hive(String uri) throws ConfigurationException
ConfigurationException
public Hive(RootType root) throws ConfigurationException
ConfigurationException
protected Hive(Configurator configurator) throws ConfigurationException
ConfigurationException
public String getHiveId()
HiveCommon
getHiveId
in class HiveCommon
protected 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 HiveCommon
Exception
protected 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 HiveCommon
Exception
protected 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.