Class MustacheCompilerFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<MustacheCompiler>
-
- com.github.mjeanroy.springmvc.view.mustache.configuration.MustacheCompilerFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<MustacheCompiler>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
public class MustacheCompilerFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<MustacheCompiler> implements org.springframework.beans.factory.FactoryBean<MustacheCompiler>, org.springframework.context.ApplicationContextAware
Create mustache compiler. Use classpath detection to instantiate appropriate implementation. Beans are retrieved using application context.
-
-
Constructor Summary
Constructors Constructor Description MustacheCompilerFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MustacheCompiler
createInstance()
Class<?>
getObjectType()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
-
-
-
Method Detail
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<MustacheCompiler>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<MustacheCompiler>
-
createInstance
protected MustacheCompiler createInstance() throws Exception
- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<MustacheCompiler>
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-