|
|
@ -164,12 +164,15 @@ public class OperationManagerImpl implements OperationManager {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private OperationDAO lookupOperationDAO(Operation operation) {
|
|
|
|
private OperationDAO lookupOperationDAO(Operation operation) {
|
|
|
|
|
|
|
|
|
|
|
|
if (operation instanceof CommandOperation) {
|
|
|
|
if (operation instanceof CommandOperation) {
|
|
|
|
return commandOperationDAO;
|
|
|
|
return commandOperationDAO;
|
|
|
|
|
|
|
|
} else if (operation instanceof ProfileOperation) {
|
|
|
|
|
|
|
|
return profileOperationDAO;
|
|
|
|
} else if (operation instanceof ConfigOperation) {
|
|
|
|
} else if (operation instanceof ConfigOperation) {
|
|
|
|
return configOperationDAO;
|
|
|
|
return configOperationDAO;
|
|
|
|
} else {
|
|
|
|
}else{
|
|
|
|
return profileOperationDAO;
|
|
|
|
return operationDAO;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|