That subject isn't worded quite right, but hopefully I can clear that
up.

I started out with a small handful of resource classes, each of which
points to a separate portion of my domain classes.  I realized that
there are some HTTP headers that I'd like to get automatically, without
specifying them explicitly in each method.  I realized I could just
define an instance variable in the resource class and then put the
"@HeaderParam annotation on the field.  That works fine.  However, what
I'd really like to do is have a base class that all the resource classes
extend, which has the annotated instance variable.  All I did was "pull
up" the instance variable and the getter/setter to a base class and
retested that, and I found that the instance variable was not set.

Is there something I have to do to get CXF to look at the base class for
CXF annotations, or is this a scenario that isn't possible yet?

Reply via email to