The problem is that PrettyFaces creates an instance of the rewrite processor itself. So CDI isn’t involved here. Therefore @Inject won’t have any effect. Your only option is to manually obtain the BeanManager and lookup the service for yourself. I did something similar in the past and created a simple helper class for this. Unfortunately I currently don’t have access to the code. But I will post it later today as soon as I’m in the office.