trying to inject configurations with cdi.