if you use javassist 3.0 you can also add annotations when creating
the class, I believe (though HiveMind uses javassist 2.x, it still
works when you use javassist 3.0)
On 5/18/06, Davor Hrg <[EMAIL PROTECTED]> wrote:
I'm writing a samll xmlrpc server for user management...
firstly I added few of the services to XMLrpc server as handlers.
All was good until I needed some methods not to be accessible througs
xmlrpc.
I decided to use javassist to generate dynamic class
which would delegate method calls to my service,
to choose which methods to implement I introduced an
annotation: @XmlRpc ....
.... the problem is that I get the proxy for the service,
not the actual class, so I can't query for annotations
I used a workaroud to get the hold of the orig object behind
proxy, but would like to know if there is practical solution to
this problem.
Davor Hrg
--
______________________________________
Cheers,
Arik Kfir [EMAIL PROTECTED]
Linux user, number 415067 - http://counter.li.org/
http://corleon.dnsalias.org