@Singleton public class TemplateDefinitionRegistry extends Object
TemplateDefinition
s.Constructor and Description |
---|
TemplateDefinitionRegistry() |
Modifier and Type | Method and Description |
---|---|
TemplateDefinition |
getTemplateDefinition(String id) |
Collection<TemplateDefinition> |
getTemplateDefinitions() |
void |
register(TemplateDefinitionProvider provider) |
void |
unregister(String id) |
Set<String> |
unregisterAndRegister(Collection<String> registeredIds,
Collection<TemplateDefinitionProvider> providers) |
public TemplateDefinition getTemplateDefinition(String id) throws info.magnolia.registry.RegistrationException
info.magnolia.registry.RegistrationException
public Collection<TemplateDefinition> getTemplateDefinitions()
public void register(TemplateDefinitionProvider provider)
public void unregister(String id)
public Set<String> unregisterAndRegister(Collection<String> registeredIds, Collection<TemplateDefinitionProvider> providers)
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.