return props;
}
private void addPlugin(String comp_id) {
System.out.println("Loading plugin: " + comp_id + " ...");
XMPPProcessorIfc proc = ProcessorFactory.getProcessor(comp_id);
boolean loaded = false;
if (proc != null) {
ProcessorThread pt = new ProcessorThread(proc);
pt.setDaemon(true);
pt.setName(proc.id());
pt.start();
processors.put(comp_id, pt);
log.config("Added processor: " + proc.getClass().getSimpleName()
+ " for plugin id: " + comp_id);
loaded = true;
}
XMPPPreprocessorIfc preproc = ProcessorFactory.getPreprocessor(comp_id);
if (preproc != null) {