MCPcopy Create free account
hub / github.com/castello/spring_basic / main

Method main

ch3/AopMain.java:10–19  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

8
9public class AopMain {
10 public static void main(String[] args) throws Exception {
11 MyAdvice myAdvice = new MyAdvice();
12
13 Class myClass = Class.forName("com.fastcampus.ch3.aop.MyClass");
14 Object obj = myClass.newInstance();
15
16 for(Method m : myClass.getDeclaredMethods()) {
17 myAdvice.invoke(m, obj, null);
18 }
19 }
20}
21
22class MyAdvice {

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.95

Tested by

no test coverage detected