private void executeInClassScope ( Callable < Void > call ) { try { classContext . get ( ) . activate ( deploymentClass ) ; call . call ( ) ; } catch ( Exception e ) { throw new RuntimeException ( "Could not invoke operation" , e ) ; // NOPMD } finally { classContext . get ( ) . deactivate ( ) ; } }
Calls operation in deployment class scope .