By including the cucumber-needle jar on your CLASSPATH your Glue classes will be instantiated by needle. You can use the InjectionProviderInstanceSupplier and NeedleInjectionProvider to configure the behavior of the needle injection.