I'm trying to access the seam managed persistence context inside a seam POJO declared as @Startup.
When the object is created the inject seam managed persistence context is null
@In
private EntityManager em;
Is there a way to do that (basically I need to schedule some maintenance related operations at startup time ... and those operations must access the database ...) ?