// Configure classpaths
for (String sharedPackage : sharedPackages) {
filteredApplication.allowPackage(sharedPackage);
}
implementationClassLoader.addURLs(implementationClassPath);
// Deserialize the worker action
Action<WorkerContext> action;
try {
ObjectInputStream instr = new ClassLoaderObjectInputStream(new ByteArrayInputStream(serializedWorkerAction),