Thread.currentThread().setContextClassLoader(ecl);
/*
* Create a habitat that can load from the extension directory.
*/
ModulesRegistry registry = new StaticModulesRegistry(ecl);
serviceLocator = registry.createServiceLocator("default");
classPath =
SmartFile.sanitizePaths(System.getProperty("java.class.path"));
className = AsadminMain.class.getName();