ClassLoaderResolver clr = nucleusCtx.getClassLoaderResolver(type != null ? type.getClassLoader() : null);
PluginManager pluginMgr = nucleusCtx.getPluginManager();
ConfigurationElement[] elems = pluginMgr.getConfigurationElementsForExtension(
"org.datanucleus.query_method_evaluators", "method", methodName);
Map<Object, InvocationEvaluator> evaluators = new HashMap();
InvocationEvaluator requiredEvaluator = null;
if (elems == null)
{
return null;
}
for (int i=0;i<elems.length;i++)
{
try
{
String evalName = elems[i].getAttribute("evaluator");
InvocationEvaluator eval =
(InvocationEvaluator)pluginMgr.createExecutableExtension(
"org.datanucleus.query_method_evaluators", new String[] {"method", "evaluator"},
new String[] {methodName, evalName}, "evaluator", null, null);
String elemClsName = elems[i].getAttribute("class");