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, wait
onCreateClass, onCreateView, onDropClass, onDropView
public OConfigurableHooksManager(OServerConfiguration iCfg)
public void addHook(OServerHookConfiguration configuration)
public ODatabaseLifecycleListener.PRIORITY getPriority()
getPriority
in interface ODatabaseLifecycleListener
public void onCreate(ODatabaseInternal iDatabase)
onCreate
in interface ODatabaseLifecycleListener
public void onOpen(ODatabaseInternal iDatabase)
onOpen
in interface ODatabaseLifecycleListener
public void onClose(ODatabaseInternal iDatabase)
onClose
in interface ODatabaseLifecycleListener
public void onDrop(ODatabaseInternal iDatabase)
onDrop
in interface ODatabaseLifecycleListener
public void onLocalNodeConfigurationRequest(ODocument iConfiguration)
ODatabaseLifecycleListener
onLocalNodeConfigurationRequest
in interface ODatabaseLifecycleListener
public String getName()
Copyright © 2009–2020 OrientDB. All rights reserved.