statically initialize cdi instead of instantiating a dummy variable