private Object getCursor(Object implObject, Method method, Object[] args)
                    throws IllegalAccessException, IllegalArgumentException, InvocationTargetException,
                    SQLException {
        final boolean trace = TraceComponent.isAnyTracingEnabled();
        if (trace && tc.isEntryEnabled())
            Tr.entry(tc, "getCursor", this, args[0]);

        ResultSet rsetImpl = (ResultSet) method.invoke(implObject, args);
        WSJdbcResultSet rsetWrapper = rsetImpl == null ? null : createWrapper(rsetImpl);

        if (trace && tc.isEntryEnabled())
            Tr.exit(tc, "getCursor", rsetWrapper);
        return rsetWrapper;
    }
private Object getCursor ( Object implObject , Method method , Object [ ] args ) throws IllegalAccessException , IllegalArgumentException , InvocationTargetException , SQLException { final boolean trace = TraceComponent . isAnyTracingEnabled ( ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getCursor" , this , args [ 0 ] ) ; ResultSet rsetImpl = ( ResultSet ) method . invoke ( implObject , args ) ; WSJdbcResultSet rsetWrapper = rsetImpl == null ? null : createWrapper ( rsetImpl ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "getCursor" , rsetWrapper ) ; return rsetWrapper ; }
Invokes getCursor and wraps the result set.

@param implObject the instance on which the operation is invoked.
@param method the method that is invoked.
@param args the parameters to the method.

@throws IllegalAccessException if the method is inaccessible.
@throws IllegalArgumentException if the instance does not have the method or
if the method arguments are not appropriate.
@throws InvocationTargetException if the method raises a checked exception.
@throws SQLException if unable to invoke the method for other reasons.

@return the result of invoking the method.