class test{
public void test1(){}
public void test2(){}
public void test3(){}
}
when i call method test1(), i want test2() method to be executed before test1() is invoked, and test3() method be excuted after test1() finishes .
is there any annotation allow me to do this.
appreciate your help
public void test1(){}
public void test2(){}
public void test3(){}
}
when i call method test1(), i want test2() method to be executed before test1() is invoked, and test3() method be excuted after test1() finishes .
is there any annotation allow me to do this.
appreciate your help