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
|
handleSessionCreated
addDataItemValidator, 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, validateSession
authorize, authorize, extractPrivileges, fillSessionProperties, loginUser, makeEffectiveUserInformation, setAuditLogService, setAuthenticationImplementation, setAuthorizationImplementation
public 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 AbstractOsgiHiveCommon
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 AbstractOsgiHiveCommon
Exception
public String getHiveId()
HiveCommon
getHiveId
in class HiveCommon
protected 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 HiveCommon
Copyright © 2017 Eclipse NeoSCADA Project. All rights reserved.