Note the following when you use the CDI to develop applications:
You cannot specify arguments for the constructors of the EJB Bean class, Servlet class, Listener class, and Filter class that use the CDI annotations.