Package org.apache.ofbiz.service.engine
Class GenericEngineFactory
- java.lang.Object
-
- org.apache.ofbiz.service.engine.GenericEngineFactory
-
public class GenericEngineFactory extends java.lang.Object
Generic Engine Factory
-
-
Field Summary
Fields Modifier and Type Field Description protected ServiceDispatcher
dispatcher
protected java.util.Map<java.lang.String,GenericEngine>
engines
-
Constructor Summary
Constructors Constructor Description GenericEngineFactory(ServiceDispatcher dispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericEngine
getGenericEngine(java.lang.String engineName)
Gets the GenericEngine instance that corresponds to given the name
-
-
-
Field Detail
-
dispatcher
protected ServiceDispatcher dispatcher
-
engines
protected java.util.Map<java.lang.String,GenericEngine> engines
-
-
Constructor Detail
-
GenericEngineFactory
public GenericEngineFactory(ServiceDispatcher dispatcher)
-
-
Method Detail
-
getGenericEngine
public GenericEngine getGenericEngine(java.lang.String engineName) throws GenericServiceException
Gets the GenericEngine instance that corresponds to given the name- Parameters:
engineName
- Name of the engine- Returns:
- GenericEngine that corresponds to the engineName
- Throws:
GenericServiceException
-
-