Java Tracing Interface Calls by Decorating Objects with a Proxy Object in Java You take an instance of some type and decorate it with additional responsibilities at runtime. The decorator acts like a proxy for the instance, forwarding or augmenting requests sent to methods along the way.