Adding simple CDI injection into resources