Package test

Examples of test.TargetObject


{


  public static void main(String[] args)
  {
    TargetObject obj = new TargetObject();
   
    ITargetObject targObject = (ITargetObject)Proxy.newProxyInstance(TargetObject.class.getClassLoader(),
        new Class<?>[]{ITargetObject.class}, new TargetObjectProxy<TargetObject>(obj));
    targObject.boringMethod();
  }
View Full Code Here

TOP

Related Classes of test.TargetObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.