UserInstance.workerProperties=ResourceLoader.getResourceAsProperties(UserInstance.class, WORKER_PROPERTIES_FILE_NAME);
} catch (IOException ioe) {
log.error("UserInstance::processWorkerDispatch() : Unable to load worker.properties file. ", ioe);
}
// now add in component archive declared workers
CarResources cRes = CarResources.getInstance();
cRes.getWorkers( UserInstance.workerProperties );
}
String dispatchClassName=UserInstance.workerProperties.getProperty(workerName);
if(dispatchClassName==null) {
throw new PortalException("UserInstance::processWorkerDispatch() : Unable to find processing class for the worker type \""+workerName+"\". Please check worker.properties");