The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


dynamic proxy class

Posted by Matt Gerrans on November 16, 2001 at 1:15 PM


> Hello every body,
> i have my own package .inside my package i use invoke method form java.lang.Reflect . This invoke method call method from out side package at run time .However, becuase i try to call method from outside package and not public i get the follwoing Exception :

> IllegalAccessException
> at run time

> my question :
> can i use dynamic proxy class in the reflect package to solve my problem ???
> Actually , when i back to proxy class i found that it also depend on invoke method in the invokation handler

> so pleeeease i need support
> Nada


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us