public class HiveImpl extends HiveCommon
DEFAULT_RESULT
Constructor and Description |
---|
HiveImpl(org.osgi.framework.BundleContext context,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(DataItem item,
Dictionary<?,?> properties) |
void |
addItem(org.osgi.framework.ServiceReference<?> serviceReference) |
String |
getHiveId()
Get a unique ID for you hive type
|
protected void |
handleSessionCreated(AbstractSessionImpl session,
Properties properties,
UserInformation userInformation) |
protected void |
performStart()
Called then the hive should perform its startup procedure
|
protected void |
performStop()
Called then the hive should perform its shutdown procedure
|
void |
removeItem(DataItem item) |
void |
removeItem(org.osgi.framework.ServiceReference<?> serviceReference) |
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 HiveImpl(org.osgi.framework.BundleContext context, Executor executor) throws org.osgi.framework.InvalidSyntaxException
org.osgi.framework.InvalidSyntaxException
public String getHiveId()
HiveCommon
getHiveId
in class HiveCommon
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 handleSessionCreated(AbstractSessionImpl session, Properties properties, UserInformation userInformation)
handleSessionCreated
in class HiveCommon
public void addItem(DataItem item, Dictionary<?,?> properties)
public void removeItem(DataItem item)
public void addItem(org.osgi.framework.ServiceReference<?> serviceReference)
public void removeItem(org.osgi.framework.ServiceReference<?> serviceReference)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.