passportsByClass = new Hashtable();
passportsByName = new Hashtable();
try {
Logger.info("searching for available passports");
BeanService service = Application.getBootLoader().getBootable(BeanService.class);
ClassFinder finder = Application.getPluginLoader().getManifest(HBCI.class).getClassLoader().getClassFinder();
Class[] found = finder.findImplementors(Passport.class);
for (Class c:found)
{
try {
Passport p = (Passport) service.get(c);
Application.getCallback().getStartupMonitor().setStatusText("init passport " + p.getName());
passportsByName.put(p.getName(),c);
passportsByClass.put(c.getName(),c);
Logger.info(" " + p.getName() + " [" + p.getClass().getName() + "]");
}