Following my code I would like to inject a bean named deviceIdLockMap into LockDelegate. Could you please help me with it?
public class LockDelegate implements JavaDelegate {
private static final Logger LOG = LoggerFactory.getLogger(LockDelegate.class);
private Expression lockService;
@Override
public void execute(DelegateExecution execution) throws Exception {
@SuppressWarnings("unchecked")
ConcurrentHashMap<String, Boolean> deviceIdLockMap = (ConcurrentHashMap<String, Boolean>)lockService.getValue(execution);
LOG.info(deviceIdLockMap.toString());