1. A computer-implemented method comprising: providing a class definition as one or more parameters to a decorator factory that dynamically creates a proxy object at run-time during execution of a client, wherein the one or more parameters that define the class comprise a base object that logically represents a parent object of the proxy object, a set of interfaces that defines methods of the proxy object available to the client, and a delegate object that defines a set of method implementations for one or more of the methods defined by the set of interfaces; based on the class definition, creating, with the decorator factory, the proxy object as an object that instantiates the class defined by the parameters, wherein the proxy object implements the set of interfaces provided to the decorator factory; and using an invocation handler to invoke a method defined by the proxy object in response to a method invocation by the client.