Just wondering, as my understanding was that the runtime (AS?) would hand you an index of the (full) deployment.
I don't think so as at least for JPA, you need per archive metadata, not per deployment to implement the spec properly.