Class OConfigurableHooksManager
java.lang.Object
com.orientechnologies.orient.server.handler.OConfigurableHooksManager
- All Implemented Interfaces:
ODatabaseLifecycleListener
User: kasper fock Date: 09/11/12 Time: 22:35 Registers hooks defined the in xml configuration.
Hooks can be defined in xml as :
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListener
ODatabaseLifecycleListener.PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHook(OServerHookConfiguration configuration) getName()voidonClose(ODatabaseInternal iDatabase) voidonCreate(ODatabaseInternal iDatabase) voidonDrop(ODatabaseInternal iDatabase) voidonLocalNodeConfigurationRequest(ODocument iConfiguration) Event called during the retrieving of distributed configuration, usually at startup and when the cluster shape changes.voidonOpen(ODatabaseInternal iDatabase) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.db.ODatabaseLifecycleListener
onCreateClass, onCreateView, onDropClass, onDropView
-
Constructor Details
-
OConfigurableHooksManager
-
-
Method Details
-
addHook
-
getPriority
- Specified by:
getPriorityin interfaceODatabaseLifecycleListener
-
onCreate
- Specified by:
onCreatein interfaceODatabaseLifecycleListener
-
onOpen
- Specified by:
onOpenin interfaceODatabaseLifecycleListener
-
onClose
- Specified by:
onClosein interfaceODatabaseLifecycleListener
-
onDrop
- Specified by:
onDropin interfaceODatabaseLifecycleListener
-
onLocalNodeConfigurationRequest
Description copied from interface:ODatabaseLifecycleListenerEvent called during the retrieving of distributed configuration, usually at startup and when the cluster shape changes. You can use this event to enrich the ODocument sent to the client with custom properties.- Specified by:
onLocalNodeConfigurationRequestin interfaceODatabaseLifecycleListener
-
getName
-