public  static  void  registerXMLRowVTIs( String className )
        throws Exception
    {
        // find public static methods which return ResultSet
        Class           theClass = Class.forName( className );
        Method[]        methods = theClass.getMethods();
        int             count = methods.length;
        Method          candidate = null;
        XMLRow          xmlRowAnnotation = null;

        for ( int i = 0; i < count; i++ )
        {
            candidate = methods[ i ];

            int         modifiers = candidate.getModifiers();

            if (
                Modifier.isPublic( modifiers ) &&
                Modifier.isStatic( modifiers ) &&
                candidate.getReturnType() == ResultSet.class
                )
            {
                xmlRowAnnotation = candidate.getAnnotation( XMLRow.class );

                if ( xmlRowAnnotation != null )
                {
                    VTIHelper.unregisterVTI( candidate );

                    registerVTI( candidate );
                }
            }            
        }
    }