/** * Makes invocation handler. * * @return {@link InvocationHandler} instance * @throws Exception */ protected InvocationHandler makeInvocationHandler(Object instanceObject) throws Exception { Map<Method, Method> methodsMap = makeMethodMap(getServiceClass(), getOriginalInstantiationStrategy().getInstanceClass()); return new RuntimeContextInstantiationStrategyEnhancerInvocationHandler(methodsMap, instanceObject); }
/** * Makes invocation handler. * * @return {@link InvocationHandler} instance * @throws Exception */ protected InvocationHandler makeInvocationHandler(Object instanceObject) throws Exception { Map<Method, Method> methodsMap = makeMethodMap(getServiceClass(), getOriginalInstantiationStrategy().getInstanceClass()); return new RuntimeContextInstantiationStrategyEnhancerInvocationHandler(methodsMap, instanceObject); }