Class PebbleEngineFactoryBean

java.lang.Object
com.aspectran.pebble.PebbleEngineFactory
com.aspectran.pebble.PebbleEngineFactoryBean
All Implemented Interfaces:
FactoryBean<io.pebbletemplates.pebble.PebbleEngine>, InitializableBean, ActivityContextAware, Aware

public class PebbleEngineFactoryBean extends PebbleEngineFactory implements InitializableBean, FactoryBean<io.pebbletemplates.pebble.PebbleEngine>
JavaBean to configure Pebble Engine.

Created: 2016. 1. 25.

  • Constructor Details

    • PebbleEngineFactoryBean

      public PebbleEngineFactoryBean()
  • Method Details

    • initialize

      public void initialize()
      Description copied from interface: InitializableBean
      Invoke on initialization after it has set all bean properties supplied.
      Specified by:
      initialize in interface InitializableBean
    • getObject

      public io.pebbletemplates.pebble.PebbleEngine getObject()
      Description copied from interface: FactoryBean
      Return an instance (possibly shared or independent) of the object managed by this factory. As with a BeanFactory, this allows support for both the Singleton and Prototype design pattern.
      Specified by:
      getObject in interface FactoryBean<io.pebbletemplates.pebble.PebbleEngine>
      Returns:
      an instance of the bean (can be null)