Package org.ovirt.engine.api.extensions
Extension API for 3rd party components.
Design mission is complete detachment between extension implementation and core product.
Key players:
ExtMap
- Type safe key/value map as a base to exchange information.ExtKey
- ExtMap key, it bundles UUID and type.Extension.invoke(org.ovirt.engine.api.extensions.ExtMap, org.ovirt.engine.api.extensions.ExtMap)
- Command invocation.
Both core and extension should access only keys that are known, ignore any other keys. Extension can assume that context is kept throughout the extension life cycle.
-
Interface Summary Interface Description Extension Interface of an extension. -
Class Summary Class Description Base Extension related constants.Base.ApplicationNames Application names.Base.ConfigBindingsMethods Binding methods.Base.ConfigKeys Configuration keys.Base.ContextKeys Context keys.Base.ExtensionRecord Extension record.Base.GlobalContextKeys Global context key.Base.InvokeCommands Invoke commands.Base.InvokeKeys Invoke keys.Base.InvokeResult Invoke result.ExtKey Extension map key.ExtKey.Flags ExtMap Type safe map.ExtUUID Extension UUID.