
public class OConfigurableHooksManager extends Object implements ODatabaseLifecycleListener
Hooks can be defined in xml as :
ODatabaseLifecycleListener.PRIORITY| Constructor and Description |
|---|
OConfigurableHooksManager(OServerConfiguration iCfg) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHook(OServerHookConfiguration configuration) |
String |
getName() |
ODatabaseLifecycleListener.PRIORITY |
getPriority() |
void |
onClose(ODatabaseInternal iDatabase) |
void |
onCreate(ODatabaseInternal iDatabase) |
void |
onDrop(ODatabaseInternal iDatabase) |
void |
onLocalNodeConfigurationRequest(ODocument iConfiguration)
Event called during the retrieving of distributed configuration, usually at startup and when the cluster shape changes.
|
void |
onOpen(ODatabaseInternal iDatabase) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreateClass, onDropClasspublic OConfigurableHooksManager(OServerConfiguration iCfg)
public void addHook(OServerHookConfiguration configuration)
public ODatabaseLifecycleListener.PRIORITY getPriority()
getPriority in interface ODatabaseLifecycleListenerpublic void onCreate(ODatabaseInternal iDatabase)
onCreate in interface ODatabaseLifecycleListenerpublic void onOpen(ODatabaseInternal iDatabase)
onOpen in interface ODatabaseLifecycleListenerpublic void onClose(ODatabaseInternal iDatabase)
onClose in interface ODatabaseLifecycleListenerpublic void onDrop(ODatabaseInternal iDatabase)
onDrop in interface ODatabaseLifecycleListenerpublic void onLocalNodeConfigurationRequest(ODocument iConfiguration)
ODatabaseLifecycleListeneronLocalNodeConfigurationRequest in interface ODatabaseLifecycleListenerpublic String getName()
Copyright © 2009–2025 OrientDB. All rights reserved.