|
Tutorial on Proxy objects
This tutorial shows how to write Proxy objects. A proxy in Java can wrap an object and expose the same interface. This proxy can be used the same way as the original object, but can contain extra functionality. The following example shows how to make a proxy that logs all method calls of an object.
Site owner: Put the rating form on your site!
Listing wrong or need to be updated? Modify it.
|