-
1. Re: Accessing Snnotations on Proxied Local Object
gavin.king May 27, 2006 9:36 PM (in response to chane)Try using Component.forName(...).getBeanClass()....
-
2. Re: Accessing Snnotations on Proxied Local Object
chane May 29, 2006 12:26 PM (in response to chane)Thanks for the reply. I was afraid that I had to "name" the class I was working with at some point.
I use internal annotations on my classes and want to pass the object to methods that act on those annotations. The methods are "generic" in that they operate on any object with the annotation. So I have to add a Class parameter to these method calls. It's not a big deal (more of a hassle), I was just trying to see if there was a method to access the annotations from the passed class without also having to pass the Class.
Thanks again,
Chris.... -
3. Re: Accessing Snnotations on Proxied Local Object
gavin.king May 29, 2006 12:38 PM (in response to chane)Alternatively, you can annotate the local interface.
-
4. Re: Accessing Snnotations on Proxied Local Object
chane May 31, 2006 11:23 AM (in response to chane)
Thanks for the suggestions. I want to keep our annotations in one place if possible...so I'll have the developers pass the Class around.
Thanks again,
Chris....