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) |
handleSessionCreated
addDataItemValidator, 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, validateSession
authorize, authorize, extractPrivileges, fillSessionProperties, loginUser, makeEffectiveUserInformation, setAuditLogService, setAuthenticationImplementation, setAuthorizationImplementation
public Hive(org.osgi.framework.BundleContext context, Executor executor)
public void addItemSubscriptionListener(SubscriptionManagerListener<String> listener)
addItemSubscriptionListener
in interface ComponentHost
addItemSubscriptionListener
in class HiveCommon
public void removeItemSubscriptionListener(SubscriptionManagerListener<String> listener)
removeItemSubscriptionListener
in interface ComponentHost
removeItemSubscriptionListener
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 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 ComponentHandle registerComponent(ComponentFactory componentFactory) throws Exception
registerComponent
in interface ComponentHost
Exception
public String getHiveId()
HiveCommon
getHiveId
in class HiveCommon
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.