org.ofbiz.service.engine
Class GenericEngineFactory

java.lang.Object
  extended by org.ofbiz.service.engine.GenericEngineFactory

public class GenericEngineFactory
extends java.lang.Object

Generic Engine Factory


Field Summary
protected  ServiceDispatcher dispatcher
           
protected  java.util.Map<java.lang.String,GenericEngine> engines
           
 
Constructor Summary
GenericEngineFactory(ServiceDispatcher dispatcher)
           
 
Method Summary
 GenericEngine getGenericEngine(java.lang.String engineName)
          Gets the GenericEngine instance that corresponds to given the name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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