Package org.openl.rules.runtime
Class OpenLRulesMethodHandler
- java.lang.Object
-
- org.openl.runtime.OpenLMethodHandler
-
- org.openl.rules.runtime.OpenLRulesMethodHandler
-
- All Implemented Interfaces:
IRulesRuntimeContextProvider,ASMProxyHandler,IEngineWrapper,IOpenLMethodHandler<Method,IOpenMember>
public class OpenLRulesMethodHandler extends OpenLMethodHandler implements IRulesRuntimeContextProvider
-
-
Constructor Summary
Constructors Constructor Description OpenLRulesMethodHandler(Object openlInstance, Map<Method,IOpenMember> methodMap, IRuntimeEnvBuilder runtimeEnvBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRulesRuntimeContextgetRuntimeContext()Gets runtime context.Objectinvoke(Method method, Object[] args)-
Methods inherited from class org.openl.runtime.OpenLMethodHandler
equals, getInstance, getMethodMap, getOpenMember, getRuntimeEnv, getTarget, getTargetMember, hashCode, release, setRuntimeEnv
-
-
-
-
Constructor Detail
-
OpenLRulesMethodHandler
public OpenLRulesMethodHandler(Object openlInstance, Map<Method,IOpenMember> methodMap, IRuntimeEnvBuilder runtimeEnvBuilder)
-
-
Method Detail
-
getRuntimeContext
public IRulesRuntimeContext getRuntimeContext()
Description copied from interface:IRulesRuntimeContextProviderGets runtime context.- Specified by:
getRuntimeContextin interfaceIRulesRuntimeContextProvider- Returns:
IRulesRuntimeContextinstance
-
invoke
public Object invoke(Method method, Object[] args) throws Exception
- Specified by:
invokein interfaceASMProxyHandler- Overrides:
invokein classOpenLMethodHandler- Throws:
Exception
-
-