verifier@glassfish.java.net

RE: [verifier] Use of Dynamic Proxy to implement Annotations

From: Seema Richard <Seema.Richard_at_ust-global.com>
Date: Tue, 9 Dec 2008 17:23:54 +0530

Sahoo had second thoughts on this since reflection API cannot be used in source code verification.

Thanks,
Seema



-----Original Message-----
From: Rajeev Kumar [mailto:rajeevcoder_at_yahoo.com]
Sent: Tue 12/9/2008 5:07 PM
To: verifier_at_glassfish.dev.java.net
Subject: Re: [verifier] Use of Dynamic Proxy to implement Annotations
 
Hi
As I know about the dynamic Proxy class is that "A dynamic proxy class implements a list of interfaces specified at run time".Thus, a
dynamic proxy class can be used to create a type-safe proxy object for
a list of interfaces .

I am interested to explore its possible use in javamodel .What are the packages and classes to look for it?

Regards
Rajeev Kumar




________________________________
From: Sahoo <sahoo_at_sun.com>
To: verifier_at_glassfish.dev.java.net
Sent: Monday, 8 December, 2008 10:50:48 PM
Subject: [verifier] Use of Dynamic Proxy to implement Annotations

Seema, Deepa,

In the javamodel, can we explore the possibility of using dynamic proxy (java.lang.reflect.Proxy) to create type safe annotation objects. That way, we can pass an instance of javax.ejb.EJB to EJBAnnotationHandler.

Thanks,
Sahoo



      Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/