private static Object _runMethod ( Object obj , String methodName ) { try { Method sessionIdMethod = obj . getClass ( ) . getMethod ( methodName ) ; return sessionIdMethod . invoke ( obj ) ; } catch ( Exception e ) { return null ; } }
Runs a method on an object and returns the result