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 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:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • findEngines

      public Collection<G> findEngines()
      Specified by:
      findEngines in class CachedEngineFactory<T,G>
    • getEngineClass

      public abstract Class<G> getEngineClass()