Inherited by org.objectweb.jonas_ejb.container.jorm.RdbFactory.
Inheritance diagram for org.objectweb.jonas_ejb.container.jorm.MedorFactory:
Public Member Functions | |
synchronized QueryEvaluator | getOptimizedRequest (MethodCmp2Desc methodDesc) throws MedorException |
TupleCollection | evaluate (Object conn, int methodIndex, ParameterOperand[] parameters) throws MedorException |
void | init (EntityDesc ed, JContainer c, String mapperName) |
Protected Attributes | |
QueryTransformer | queryTransformer = null |
Definition at line 74 of file MedorFactory.java.
|
It evaluate an optimized medor request according to the specified parameters To evalute the medor request the query evaluator is used.
Definition at line 169 of file MedorFactory.java. References org.objectweb.jonas_ejb.lib.EjbqlLimiterRange.getKind(), org.objectweb.jonas_ejb.deployment.api.MethodDesc.getMethod(), org.objectweb.jonas_ejb.deployment.api.MethodCmp2Desc.getPrefetch(), org.objectweb.jonas_ejb.lib.EjbqlLimiterRange.getValue(), and org.objectweb.jonas_ejb.lib.EjbqlLimiterRange.KIND_PARAMETER. |
Here is the call graph for this function:
|
It retrieves a medor request which is evaluable and optimized. The method index is translate into a request index, then the found request is optimized if it is not already.
Definition at line 112 of file MedorFactory.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryTreeHolder.getPrefetchIndex(), org.objectweb.jonas_ejb.lib.EjbqlQueryTreeHolder.getQueryOptimizer(), org.objectweb.jonas_ejb.container.jorm.MedorFactory.queryTransformer, and org.objectweb.jonas_ejb.lib.EjbqlQueryTreeHolder.setQueryOptimizer(). |
Here is the call graph for this function:
|
Initialization of the factory. This is called just after the newInstance() from the JContainer (addBean method) Reimplemented from org.objectweb.jonas_ejb.container.jorm.JormFactory. Reimplemented in org.objectweb.jonas_ejb.container.jorm.RdbFactory. Definition at line 249 of file MedorFactory.java. References org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.getJormManager(), org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.logger, and org.objectweb.jonas_ejb.deployment.api.BeanDesc.logger. |
Here is the call graph for this function:
|
This field references the query transformer which must be used to optimize the medor requests. Definition at line 80 of file MedorFactory.java. Referenced by org.objectweb.jonas_ejb.container.jorm.MedorFactory.getOptimizedRequest(). |