@Singleton public class MediaEditorRegistry extends info.magnolia.config.registry.AbstractRegistry<MediaEditorDefinition>
Registry
implementation for MediaEditorDefinition
types.Modifier and Type | Field and Description |
---|---|
static info.magnolia.config.registry.DefinitionType |
TYPE |
Constructor and Description |
---|
MediaEditorRegistry()
Deprecated.
since 5.4.6 - use
MediaEditorRegistry(ModuleRegistry) instead. |
MediaEditorRegistry(info.magnolia.module.ModuleRegistry moduleRegistry) |
Modifier and Type | Method and Description |
---|---|
MediaEditorDefinition |
get(String mediaEditorId)
Deprecated.
since 5.4 - use the
AbstractRegistry.getProvider(String) method instead and fetch definition from the result. |
info.magnolia.config.registry.DefinitionMetadataBuilder |
newMetadataBuilder() |
protected info.magnolia.config.registry.DefinitionProvider<MediaEditorDefinition> |
onRegister(info.magnolia.config.registry.DefinitionProvider<MediaEditorDefinition> provider) |
info.magnolia.config.registry.DefinitionType |
type() |
addDecorator, addValidator, getAllDefinitions, getAllMetadata, getAllProviders, getDecoratedDefinitionProvider, getProvider, getProvider, getReferenceId, getRegistryMap, query, register, removeDecorator, start, unregisterAndRegister, validate
@Deprecated public MediaEditorRegistry()
MediaEditorRegistry(ModuleRegistry)
instead.@Inject public MediaEditorRegistry(info.magnolia.module.ModuleRegistry moduleRegistry)
@Deprecated public MediaEditorDefinition get(String mediaEditorId) throws info.magnolia.registry.RegistrationException
AbstractRegistry.getProvider(String)
method instead and fetch definition from the result.info.magnolia.registry.RegistrationException
public info.magnolia.config.registry.DefinitionType type()
public info.magnolia.config.registry.DefinitionMetadataBuilder newMetadataBuilder()
protected info.magnolia.config.registry.DefinitionProvider<MediaEditorDefinition> onRegister(info.magnolia.config.registry.DefinitionProvider<MediaEditorDefinition> provider)
onRegister
in class info.magnolia.config.registry.AbstractRegistry<MediaEditorDefinition>
Copyright © 2021 Magnolia International Ltd.. All rights reserved.