gov.sns.tools.findclass
Class RTSI

java.lang.Object
  |
  +--gov.sns.tools.findclass.RTSI

public class RTSI
extends java.lang.Object

This utility class is looking for all the classes implementing or inheriting from a given interface or class. (RunTime Subclass Identification)


Constructor Summary
RTSI()
           
 
Method Summary
static void find(java.lang.String tosubclassname)
          Display all the classes inheriting or implementing a given class in the currently loaded packages.
static void find(java.lang.String pckgname, java.lang.Class tosubclass)
          Display all the classes inheriting or implementing a given class in a given package.
static void find(java.lang.String pckname, java.lang.String tosubclassname)
          Display all the classes inheriting or implementing a given class in a given package.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RTSI

public RTSI()
Method Detail

find

public static void find(java.lang.String tosubclassname)
Display all the classes inheriting or implementing a given class in the currently loaded packages.

Parameters:
tosubclassname - the name of the class to inherit from

find

public static void find(java.lang.String pckname,
                        java.lang.String tosubclassname)
Display all the classes inheriting or implementing a given class in a given package.


find

public static void find(java.lang.String pckgname,
                        java.lang.Class tosubclass)
Display all the classes inheriting or implementing a given class in a given package.

Parameters:
pckgname - the fully qualified name of the package
tosubclass - the Class object to inherit from

main

public static void main(java.lang.String[] args)