public class Hive extends AbstractOsgiHiveCommon
DEFAULT_RESULT| Constructor and Description |
|---|
Hive() |
Hive(ConfigurationFactory factory,
org.osgi.framework.BundleContext context) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHiveId()
Get a unique ID for you hive type
|
protected WriteHandler |
getWriteHandler(SessionCommon session,
String itemId) |
protected void |
handleAddConnection(String id,
ConnectionConfiguration configuration) |
protected void |
handleRemoveConnection(String id) |
protected com.google.common.util.concurrent.ListenableFuture<Void> |
performAddConnection(String id,
ConnectionConfiguration configuration) |
protected void |
performRemoveConnection(String id) |
protected void |
performStart()
Called then the hive should perform its startup procedure
|
protected void |
performStop()
Called then the hive should perform its shutdown procedure
|
handleSessionCreatedaddDataItemValidator, addItemFactory, addItemSubscriptionListener, addSessionListener, closeSession, createSession, createSession, getBrowser, getGrantedItems, getOperationService, getValidationStrategy, 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()
public Hive(ConfigurationFactory factory, org.osgi.framework.BundleContext context)
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 AbstractOsgiHiveCommonExceptionprotected 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 AbstractOsgiHiveCommonExceptionpublic String getHiveId()
HiveCommongetHiveId in class HiveCommonprotected com.google.common.util.concurrent.ListenableFuture<Void> performAddConnection(String id, ConnectionConfiguration configuration)
protected void performRemoveConnection(String id)
protected void handleAddConnection(String id, ConnectionConfiguration configuration)
protected void handleRemoveConnection(String id)
protected WriteHandler getWriteHandler(SessionCommon session, String itemId)
getWriteHandler in class HiveCommonCopyright © 2017 Eclipse NeoSCADA Project. All rights reserved.