@Singleton public class TemplateDefinitionRegistry extends info.magnolia.config.registry.AbstractRegistry<TemplateDefinition>
TemplateDefinition
s.Constructor and Description |
---|
TemplateDefinitionRegistry()
Deprecated.
since 5.4.6 - use
TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry) instead. |
TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry moduleRegistry)
Deprecated.
|
TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry moduleRegistry,
TemplateDefinitionValidator templateDefinitionValidator) |
Modifier and Type | Method and Description |
---|---|
TemplateDefinition |
getTemplateDefinition(String id)
Deprecated.
since 5.4 use
AbstractRegistry.getProvider(String) |
Collection<TemplateDefinition> |
getTemplateDefinitions()
Deprecated.
since 5.4 use
AbstractRegistry.getAllDefinitions() |
info.magnolia.config.registry.DefinitionMetadataBuilder |
newMetadataBuilder() |
protected info.magnolia.config.registry.DefinitionProvider<TemplateDefinition> |
onRegister(info.magnolia.config.registry.DefinitionProvider<TemplateDefinition> provider) |
void |
register(TemplateDefinitionProvider provider)
Deprecated.
since 5.4
|
info.magnolia.config.registry.DefinitionType |
type() |
addDecorator, addValidator, getAllDefinitions, getAllMetadata, getAllProviders, getDecoratedDefinitionProvider, getProvider, getProvider, getReferenceId, getRegistryMap, query, register, removeDecorator, start, unregisterAndRegister, validate
@Inject public TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry moduleRegistry, TemplateDefinitionValidator templateDefinitionValidator)
@Deprecated public TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry moduleRegistry)
TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry, info.magnolia.rendering.template.registry.validator.TemplateDefinitionValidator)
instead.@Deprecated public TemplateDefinitionRegistry()
TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry)
instead.public info.magnolia.config.registry.DefinitionType type()
public info.magnolia.config.registry.DefinitionMetadataBuilder newMetadataBuilder()
@Deprecated public void register(TemplateDefinitionProvider provider)
@Deprecated public TemplateDefinition getTemplateDefinition(String id) throws info.magnolia.registry.RegistrationException
AbstractRegistry.getProvider(String)
info.magnolia.registry.RegistrationException
protected info.magnolia.config.registry.DefinitionProvider<TemplateDefinition> onRegister(info.magnolia.config.registry.DefinitionProvider<TemplateDefinition> provider)
onRegister
in class info.magnolia.config.registry.AbstractRegistry<TemplateDefinition>
@Deprecated public Collection<TemplateDefinition> getTemplateDefinitions()
AbstractRegistry.getAllDefinitions()
Copyright © 2003–2021 Magnolia International Ltd.. All rights reserved.