}
public void run() {
try {
SmartCardTask task = null;
JarClassLoader cl = null;
try {
if (null == out) {
return;
}
cl = new JarClassLoader(out.toURI().toURL());
InputStream reg = cl.getResourceAsStream("SmartCardTaskRegistrator");
InputStreamReader isr = new InputStreamReader(reg);
BufferedReader in = new BufferedReader(isr);
String className = in.readLine();
String methodName = in.readLine();
in.close();
task = (SmartCardTask) cl.invokeClassStaticMethod(className, methodName);
} catch (ClassNotFoundException ex) {
Logger.getLogger(CardReaderManagerView.class.getName()).log(Level.SEVERE, null, ex);
} catch (NoSuchMethodException ex) {
Logger.getLogger(CardReaderManagerView.class.getName()).log(Level.SEVERE, null, ex);
}