wt.tools.generation
Class ClassRegistry
java.lang.Object
wt.tools.generation.ClassRegistry
- All Implemented Interfaces:
- ExecutableApp
- public class ClassRegistry
- extends Object
- implements ExecutableApp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
private static ClassRegistry INSTANCE
registry
private MappedRegistry registry
dir
private String dir
propertyFileName
private String propertyFileName
basePropertyFileName
private static final String basePropertyFileName
- See Also:
- Constant Field Values
UNIX_FILE_SEP
private static final String UNIX_FILE_SEP
- See Also:
- Constant Field Values
AUTO_ACCUMULATE
private static final boolean AUTO_ACCUMULATE
nonRegistered
private static final ArrayList nonRegistered
allRegistries
private static HashMap allRegistries
depLoaded
private boolean depLoaded
depRegistries
private HashMap depRegistries
moduleName
private String moduleName
uidFactory
private static final UnitIdentifierFactory uidFactory
ClassRegistry
public ClassRegistry()
execute
public void execute(String[] args)
- Description copied from interface:
ExecutableApp
Supported API: false
- Specified by:
execute
in interface ExecutableApp
- Parameters:
args
-
fullyQualified
public String fullyQualified(String class_name)
packageName
public String packageName(String class_name)
count
public final int count(String class_name)
valuesSet
protected static HashSet valuesSet(String class_name,
ClassRegistry class_reg,
HashSet set)
putPair
public void putPair(String class_name,
String package_name)
removePair
public void removePair(String class_name,
String package_name)
remove
public void remove(MappedRegistry otherRegistry)
values
public final Enumeration values(String class_name)
write
public void write()
accumulate
protected void accumulate(String module_name,
String path)
ensureDepLoaded
private void ensureDepLoaded()
get
public static ClassRegistry get(String module_name)
get
protected static ClassRegistry get(String module_name,
boolean recurse)
setDefaultRegistry
public static void setDefaultRegistry(String module_name)
getModuleClasspath
protected static String getModuleClasspath(String module_name)
getPackageList
protected static HashSet getPackageList(String module_name)
loadDepRegistries
private void loadDepRegistries()
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
reportValues
public static void reportValues(String module_name,
String class_name)
reportConflicts
public static void reportConflicts(String module_name)
keys
protected Enumeration keys()
initialize
private void initialize(String module_name)