Java dynamic proxy is actually a proxy object, it will not make substantive work for you, when generating an instance of it you must provide a handler, it is taken over by the actual work. check the code:
Code:
public interface StudentDao123 (
public void test1 ();
public void test2 ();
public void test3 ();
public void test4 ();
}
public interface StudentDao211 (
public void t ();
}
Target class:
public class StudentDaoImpl123 implements StudentDao123, StudentDao211 (
/ / Implementation of interface method
}
Bookmarks