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
Constructors Modifier Constructor Description protectedSpringEngineFactory()protectedSpringEngineFactory(org.springframework.context.ApplicationContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Collection<G>findEngines()abstract Class<G>getEngineClass()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)-
Methods inherited from class net.n2oapp.engine.factory.CachedEngineFactory
getEngine, getType, produce
-
-
-
-
Method Detail
-
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
public Collection<G> findEngines()
- Specified by:
findEnginesin classCachedEngineFactory<T,G>
-
-