Class PebbleEngineFactoryBean
- java.lang.Object
-
- com.aspectran.core.support.pebble.PebbleEngineFactory
-
- com.aspectran.core.support.pebble.PebbleEngineFactoryBean
-
- All Implemented Interfaces:
FactoryBean<com.mitchellbosecke.pebble.PebbleEngine>,InitializableBean,Aware,EnvironmentAware
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.PebbleEnginegetObject()Return an instance (possibly shared or independent) of the object managed by this factory.voidinitialize()Invoke on initialization after it has set all bean properties supplied.-
Methods inherited from class com.aspectran.core.support.pebble.PebbleEngineFactory
createPebbleEngine, getAggregateTemplateLoader, getTemplateLoaderForPath, setDefaultLocale, setEnvironment, setStrictVariables, setTemplateLoader, setTemplateLoader, setTemplateLoader, setTemplateLoaderPath, setTemplateLoaderPath, setTemplateLoaderPath
-
-
-
-
Method Detail
-
initialize
public void initialize()
Description copied from interface:InitializableBeanInvoke on initialization after it has set all bean properties supplied.- Specified by:
initializein interfaceInitializableBean
-
getObject
public com.mitchellbosecke.pebble.PebbleEngine getObject()
Description copied from interface:FactoryBeanReturn 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:
getObjectin interfaceFactoryBean<com.mitchellbosecke.pebble.PebbleEngine>- Returns:
- an instance of the bean (can be null)
-
-