Package net.n2oapp.engine.factory
Class CachedEngineFactory<T,G>
- java.lang.Object
-
- net.n2oapp.engine.factory.CachedEngineFactory<T,G>
-
- All Implemented Interfaces:
EngineFactory<T,G>
- Direct Known Subclasses:
SpringEngineFactory
public abstract class CachedEngineFactory<T,G> extends Object implements EngineFactory<T,G>
Фабрика движков, кэширующая свою продукцию
-
-
Constructor Summary
Constructors Constructor Description CachedEngineFactory()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Collection<G>findEngines()protected GgetEngine(T type)abstract TgetType(G engine)Gproduce(T type)Произвести движок
-
-
-
Method Detail
-
produce
public G produce(T type)
Description copied from interface:EngineFactoryПроизвести движок- Specified by:
producein interfaceEngineFactory<T,G>- Parameters:
type- Тип движка- Returns:
- Движок
-
findEngines
public abstract Collection<G> findEngines()
-
-