posted 17 years ago
On the other hand, I think I was answering the question you asked, rather than solving the problem you actually have. You can create a proxy object for the object you load, which implements the same interface and/or extends the same base class as your "target" object. In this proxy class, you can implement most of the methods to simply "forward" the call to the target, while others might add code; i.e.,