@ Override public Object invoke ( Object proxy , Method method , Object [ ] args ) throws Throwable { T instance = appFactory . getInstance ( interfaceClass ) ; return method . invoke ( instance , args ) ; }
Retrieve managed instance from application factory and invoke given method on that instance .