public class Hive extends HiveCommon implements ComponentHost
DEFAULT_RESULT| Constructor and Description |
|---|
Hive(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 |
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
|
ComponentHandle |
registerComponent(ComponentFactory componentFactory) |
void |
removeItemSubscriptionListener(SubscriptionManagerListener<String> listener) |
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, validateSessionauthorize, authorize, extractPrivileges, fillSessionProperties, loginUser, makeEffectiveUserInformation, setAuditLogService, setAuthenticationImplementation, setAuthorizationImplementationpublic Hive(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 HiveCommonExceptionprotected 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 HiveCommonExceptionpublic ComponentHandle registerComponent(ComponentFactory componentFactory) throws Exception
registerComponent in interface ComponentHostExceptionprotected void handleSessionCreated(AbstractSessionImpl session, Properties properties, UserInformation userInformation)
handleSessionCreated in class HiveCommonpublic String getHiveId()
HiveCommongetHiveId in class HiveCommon