A system and method for interacting with an object is provided. The system
includes a method call interceptor that intercepts a method call made on
an object and that routes the method call to a proxy. The method call
interceptor is accessible to application code. The system also includes
an application code generic proxy that after overriding a base class
invocation method can receive intercepted method calls, can invoke
methods on the object that the proxy images, can receive results from the
object that the proxy images and can pass results to the entity that
generated the intercepted method call.