Class SpringEngineFactory<T,G>
java.lang.Object
net.n2oapp.engine.factory.CachedEngineFactory<T,G>
net.n2oapp.engine.factory.integration.spring.SpringEngineFactory<T,G>
- All Implemented Interfaces:
EngineFactory<T,,G> org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public abstract class SpringEngineFactory<T,G>
extends CachedEngineFactory<T,G>
implements org.springframework.context.ApplicationContextAware
Фабрика движков на основе Spring бинов
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSpringEngineFactory(org.springframework.context.ApplicationContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class net.n2oapp.engine.factory.CachedEngineFactory
getEngine, getType, produce
-
Constructor Details
-
SpringEngineFactory
protected SpringEngineFactory(org.springframework.context.ApplicationContext context) -
SpringEngineFactory
protected SpringEngineFactory()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
findEngines
- Specified by:
findEnginesin classCachedEngineFactory<T,G>
-
getEngineClass
-