@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) |
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() |
@Inject public TemplateDefinitionRegistry(info.magnolia.module.ModuleRegistry moduleRegistry)
@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>
public Collection<TemplateDefinition> getTemplateDefinitions()
AbstractRegistry.getAllDefinitions()
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.