I am currently in the process of migrating a plain JSF application over to Seam and have run into a small speed bump. The legacy application has a PhaseListener implementation which is used to store application visitation stats for each new visitor. It is simple enough and allows us to use almost any unsecure page as an entry point to the application. It is my understanding that it is not possible to inject Seam components (such as the EntityManager, Logger, etc.) into a PhaseListener. So how should I go about reproducing this sort of functionality within the Seam application? All suggestions and insights are appreciated.