Play 2.6 with Java - Adding Environment Dependency Injection

I need to use the Play.Environment in one of my java class as below. I am using Play 2.6.x. Can you please help me in understanding, how to add dependency injection here. I tried using as below, but the env object is coming as NULL.

Thanks