Run the demonstration.paramargs Command Line Arguments (ignored). SomeClassCountingProxy proxy = SomeClassFactory.getCountingProxy(); proxy.someMethod(); proxy.someOtherMethod("Our Proxy works!"); System.out.println("Method Invocation Count = " + proxy.getInvocationCount());
SomeClassCountingProxy proxy = SomeClassFactory.getCountingProxy(); proxy.someMethod(); proxy.someOtherMethod("Our Proxy works!"); System.out.println("Method Invocation Count = " + proxy.getInvocationCount());