Which in turn calls my factory, where my provide() method simply grabs a session attribute and returns it's value. That all works, but I wanted to use the value of "attributeName" as the parameter to session.getAttribute("attrName"). I don't see an obvious way of getting that data from the injection resolver to the factor. Ideas?
The example provided in the Jersey documentation does not actually have any annotation elements, and so it's not a valid example for this case. The docs say "such as ability to automatically inject the instances based on the annotation-provided metadata.", indicating the author sees the value in accessing such metadata, but doesn't provide an example of doing so.
I can access the annotation elements just fine inside my injection resolver, I simply don't know how to get it back to the factory.