public class Hive extends AbstractOsgiHiveCommon implements ComponentHost
DEFAULT_RESULT| Constructor and Description |
|---|
Hive(org.osgi.framework.BundleContext context,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addItemSubscriptionListener(SubscriptionManagerListener<String> listener) |
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
|
ComponentHandle |
registerComponent(ComponentFactory componentFactory) |
void |
removeItemSubscriptionListener(SubscriptionManagerListener<String> listener) |
handleSessionCreatedaddDataItemValidator, addItemFactory, addSessionListener, closeSession, createSession, createSession, getBrowser, getGrantedItems, getOperationService, getValidationStrategy, 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(org.osgi.framework.BundleContext context,
Executor executor)
public void addItemSubscriptionListener(SubscriptionManagerListener<String> listener)
addItemSubscriptionListener in interface ComponentHostaddItemSubscriptionListener in class HiveCommonpublic void removeItemSubscriptionListener(SubscriptionManagerListener<String> listener)
removeItemSubscriptionListener in interface ComponentHostremoveItemSubscriptionListener in class HiveCommonprotected 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 ComponentHandle registerComponent(ComponentFactory componentFactory) throws Exception
registerComponent in interface ComponentHostExceptionpublic String getHiveId()
HiveCommongetHiveId in class HiveCommonCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.