public class Hive extends HiveCommon
DEFAULT_RESULT| Constructor and Description |
|---|
Hive()
Default Constructor
|
Hive(RootType root) |
Hive(java.lang.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
|
java.lang.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, addSessionListener, closeSession, createSession, createSession, getBrowser, getGrantedItems, getOperationService, getValidationStrategy, handleSessionCreated, isAutoEnableStats, lookupItem, processWrite, processWriteAttributes, registerItem, removeItemFactory, 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 java.io.IOException,
ConfigurationException
XmlExceptionjava.io.IOExceptionConfigurationExceptionpublic Hive(java.lang.String uri)
throws ConfigurationException
ConfigurationExceptionpublic Hive(RootType root)
throws ConfigurationException
ConfigurationExceptionpublic java.lang.String getHiveId()
HiveCommongetHiveId in class HiveCommonprotected void startQueues()
protected void performStart()
throws java.lang.Exception
HiveCommon
This is internally dispatched when the HiveCommon.start() method was called
and the hive was not already started.
performStart in class HiveCommonjava.lang.Exceptionprotected void performStop()
throws java.lang.Exception
HiveCommon
This is internally dispatched when the HiveCommon.stop() method was called
and the hive was already started.
performStop in class HiveCommonjava.lang.Exceptionprotected void stopQueues()
public void addQueue(CommandQueue queue)
public void addContinuousCommand(ContinuousCommand command)
public void addTrigger(TriggerCommand command)
command - the new trigger command
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0