// the application client's main class is invoked. Also make
// sure the injection mgr will clean up during shutdown.
InjectionManager injMgr = Switch.getSwitch().getInjectionManager();
cleanup.setInjectionManager(injMgr, cl, appDesc);
injMgr.injectClass(cl, appDesc);
/*
Try to locate a script with the same name as the main class,
but with a file type matching the file types handled by one of the
scripting engines currently available.