public String getBaseTaskType() {
return KernelRunnable.class.getName();
}
public void run() throws Exception {
ViewCellCacheMO cacheMO = (ViewCellCacheMO) dataService.createReferenceForId(cellCacheId).get();
switch (type) {
case LOAD:
// Check security and generate appropriate load messages
cacheMO.generateLoadMessagesService(cells);
break;
case REVALIDATE:
cacheMO.revalidateCellsService(cells);
break;
case UNLOAD:
// No need to check security, just generate unload messages
cacheMO.generateUnloadMessagesService(cells);
break;
}
// StringBuffer buf = new StringBuffer();
// for(CellDescription c : cells)