You can just do Context.getService(BedManagementService.class).
Even better is to just do @Autowired BedManagementService.