Package com.aspectran.pebble
Class PebbleEngineFactoryBean
- java.lang.Object
-
- com.aspectran.pebble.PebbleEngineFactory
-
- com.aspectran.pebble.PebbleEngineFactoryBean
-
- All Implemented Interfaces:
FactoryBean<com.mitchellbosecke.pebble.PebbleEngine>
,InitializableBean
,ApplicationAdapterAware
,Aware
public class PebbleEngineFactoryBean extends PebbleEngineFactory implements InitializableBean, FactoryBean<com.mitchellbosecke.pebble.PebbleEngine>
JavaBean to configure Pebble Engine.Created: 2016. 1. 25.
-
-
Field Summary
-
Fields inherited from interface com.aspectran.core.component.bean.ablility.FactoryBean
FACTORY_METHOD_NAME
-
-
Constructor Summary
Constructors Constructor Description PebbleEngineFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.mitchellbosecke.pebble.PebbleEngine
getObject()
Return an instance (possibly shared or independent) of the object managed by this factory.void
initialize()
Invoke on initialization after it has set all bean properties supplied.-
Methods inherited from class com.aspectran.pebble.PebbleEngineFactory
createPebbleEngine, getAggregateTemplateLoader, getTemplateLoaderForPath, setApplicationAdapter, setDefaultLocale, setStrictVariables, setTemplateLoader, setTemplateLoader, setTemplateLoader, setTemplateLoaderPath, setTemplateLoaderPath, setTemplateLoaderPath
-
-
-
-
Method Detail
-
initialize
public void initialize()
Description copied from interface:InitializableBean
Invoke on initialization after it has set all bean properties supplied.- Specified by:
initialize
in interfaceInitializableBean
-
getObject
public com.mitchellbosecke.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 interfaceFactoryBean<com.mitchellbosecke.pebble.PebbleEngine>
- Returns:
- an instance of the bean (can be null)
-
-