info.magnolia.module.blossom.template
Class DefaultBlossomTemplateRegistry
java.lang.Object
info.magnolia.module.blossom.template.DefaultBlossomTemplateRegistry
- All Implemented Interfaces:
- BlossomTemplateRegistry, org.springframework.beans.factory.InitializingBean
public class DefaultBlossomTemplateRegistry
- extends Object
- implements BlossomTemplateRegistry, org.springframework.beans.factory.InitializingBean
Default implementation of BlossomTemplateRegistry
.
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptionBuilder
protected TemplateDescriptionBuilder descriptionBuilder
DefaultBlossomTemplateRegistry
public DefaultBlossomTemplateRegistry()
setDescriptionBuilder
public void setDescriptionBuilder(TemplateDescriptionBuilder descriptionBuilder)
getTemplate
public BlossomTemplateDescription getTemplate(String name)
- Specified by:
getTemplate
in interface BlossomTemplateRegistry
registerTemplate
public void registerTemplate(BlossomDispatcher dispatcher,
Object handler,
String handlerPath)
throws javax.jcr.RepositoryException
- Specified by:
registerTemplate
in interface BlossomTemplateRegistry
- Throws:
javax.jcr.RepositoryException
addTemplate
protected void addTemplate(BlossomTemplateDescription description)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
writeTemplateDefinition
protected void writeTemplateDefinition(BlossomTemplateDescription templateDescription)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2009-2011 Magnolia International Ltd.. All Rights Reserved.