Class ProxyDecoratorMapper

java.lang.Object
com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
com.atlassian.confluence.impl.sitemesh.ProxyDecoratorMapper
All Implemented Interfaces:
com.opensymphony.module.sitemesh.DecoratorMapper

public final class ProxyDecoratorMapper extends com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
A Sitemesh DecoratorMapper which delegates to a Spring bean. If this class is used by Sitemesh prior to the Spring context being available (e.g. during setup), then it just delegates to the parent DecoratorMapper.
Since:
8.7
  • Field Summary

    Fields inherited from class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper

    config, parent
  • Constructor Summary

    Constructors
    Constructor
    Description
    SiteMesh needs a public no-arg constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.opensymphony.module.sitemesh.Decorator
    getDecorator(javax.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page)
     
    com.opensymphony.module.sitemesh.Decorator
    getNamedDecorator(javax.servlet.http.HttpServletRequest request, String name)
     
    void
    init(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper parent)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ProxyDecoratorMapper

      public ProxyDecoratorMapper()
      SiteMesh needs a public no-arg constructor.
  • Method Details

    • init

      public void init(com.opensymphony.module.sitemesh.Config config, Properties properties, com.opensymphony.module.sitemesh.DecoratorMapper parent) throws InstantiationException
      Specified by:
      init in interface com.opensymphony.module.sitemesh.DecoratorMapper
      Overrides:
      init in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
      Throws:
      InstantiationException
    • getDecorator

      public com.opensymphony.module.sitemesh.Decorator getDecorator(javax.servlet.http.HttpServletRequest request, com.opensymphony.module.sitemesh.Page page)
      Specified by:
      getDecorator in interface com.opensymphony.module.sitemesh.DecoratorMapper
      Overrides:
      getDecorator in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper
    • getNamedDecorator

      public com.opensymphony.module.sitemesh.Decorator getNamedDecorator(javax.servlet.http.HttpServletRequest request, String name)
      Specified by:
      getNamedDecorator in interface com.opensymphony.module.sitemesh.DecoratorMapper
      Overrides:
      getNamedDecorator in class com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper