/** * */ public MethodInfo getContextConditionMethod(ClassLoader cl) { if(clazz!=null) { if(contextconditionmethod==null && !MI_NOTFOUND.equals(contextconditionmethod)) { synchronized(this) { if(contextconditionmethod==null && !MI_NOTFOUND.equals(contextconditionmethod)) { Class<?> body = clazz.getType(cl); contextconditionmethod = getMethod(body, PlanContextCondition.class); if(contextconditionmethod==null) contextconditionmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(contextconditionmethod)? null: contextconditionmethod; }
/** * */ public MethodInfo getContextConditionMethod(ClassLoader cl) { if(clazz!=null) { if(contextconditionmethod==null && !MI_NOTFOUND.equals(contextconditionmethod)) { synchronized(this) { if(contextconditionmethod==null && !MI_NOTFOUND.equals(contextconditionmethod)) { Class<?> body = clazz.getType(cl); contextconditionmethod = getMethod(body, PlanContextCondition.class, cl); if(contextconditionmethod==null) contextconditionmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(contextconditionmethod)? null: contextconditionmethod; }
/** * */ public MethodInfo getFailedMethod(ClassLoader cl) { if(clazz!=null) { if(failedmethod==null && !MI_NOTFOUND.equals(failedmethod)) { synchronized(this) { if(failedmethod==null && !MI_NOTFOUND.equals(failedmethod)) { Class<?> body = clazz.getType(cl); failedmethod = getMethod(body, PlanFailed.class); if(failedmethod==null) failedmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(failedmethod)? null: failedmethod; }
/** * */ public MethodInfo getPassedMethod(ClassLoader cl) { if(clazz!=null) { if(passedmethod==null && !MI_NOTFOUND.equals(passedmethod)) { synchronized(this) { if(passedmethod==null && !MI_NOTFOUND.equals(passedmethod)) { Class<?> body = clazz.getType(cl); passedmethod = getMethod(body, PlanPassed.class); if(passedmethod==null) passedmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(passedmethod)? null: passedmethod; }
/** * */ public MethodInfo getPreconditionMethod(ClassLoader cl) { if(clazz!=null) { if(preconditionmethod==null && !MI_NOTFOUND.equals(preconditionmethod)) { synchronized(this) { if(preconditionmethod==null && !MI_NOTFOUND.equals(preconditionmethod)) { Class<?> body = clazz.getType(cl); preconditionmethod = getMethod(body, PlanPrecondition.class); if(preconditionmethod==null) preconditionmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(preconditionmethod)? null: preconditionmethod; }
/** * */ public MethodInfo getPassedMethod(ClassLoader cl) { if(clazz!=null) { if(passedmethod==null && !MI_NOTFOUND.equals(passedmethod)) { synchronized(this) { if(passedmethod==null && !MI_NOTFOUND.equals(passedmethod)) { Class<?> body = clazz.getType(cl); passedmethod = getMethod(body, PlanPassed.class, cl); if(passedmethod==null) passedmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(passedmethod)? null: passedmethod; }
/** * */ public MethodInfo getFailedMethod(ClassLoader cl) { if(clazz!=null) { if(failedmethod==null && !MI_NOTFOUND.equals(failedmethod)) { synchronized(this) { if(failedmethod==null && !MI_NOTFOUND.equals(failedmethod)) { Class<?> body = clazz.getType(cl); failedmethod = getMethod(body, PlanFailed.class, cl); if(failedmethod==null) failedmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(failedmethod)? null: failedmethod; }
/** * */ public MethodInfo getAbortedMethod(ClassLoader cl) { if(clazz!=null) { if(abortedmethod==null && !MI_NOTFOUND.equals(abortedmethod)) { synchronized(this) { if(abortedmethod==null && !MI_NOTFOUND.equals(abortedmethod)) { Class<?> body = clazz.getType(cl); abortedmethod = getMethod(body, PlanAborted.class, cl); if(abortedmethod==null) abortedmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(abortedmethod)? null: abortedmethod; }
/** * */ public MethodInfo getPreconditionMethod(ClassLoader cl) { if(clazz!=null) { if(preconditionmethod==null && !MI_NOTFOUND.equals(preconditionmethod)) { synchronized(this) { if(preconditionmethod==null && !MI_NOTFOUND.equals(preconditionmethod)) { Class<?> body = clazz.getType(cl); preconditionmethod = getMethod(body, PlanPrecondition.class, cl); if(preconditionmethod==null) preconditionmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(preconditionmethod)? null: preconditionmethod; }
/** * */ public MethodInfo getAbortedMethod(ClassLoader cl) { if(clazz!=null) { if(abortedmethod==null && !MI_NOTFOUND.equals(abortedmethod)) { synchronized(this) { if(abortedmethod==null && !MI_NOTFOUND.equals(abortedmethod)) { Class<?> body = clazz.getType(cl); abortedmethod = getMethod(body, PlanAborted.class); if(abortedmethod==null) abortedmethod = MI_NOTFOUND; } } } } return MI_NOTFOUND.equals(abortedmethod)? null: abortedmethod; }