The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001

Advertisement

Advertisement

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.

Message:

dynamic proxy class

Posted by nada on November 15, 2001 at 12:00 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




Replies:

Sponsored Links



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