-

   rss_rss_hh_full

 - e-mail

 

 -

 LiveInternet.ru:
: 17.03.2011
:
:
: 1

:


[ ] Spring AOP.

, 29 2018 . 11:31 +
. . ( ), method1()?

public class MyServiceImpl {
  
  @Transactional
  public void method1() {
    //do something
    method2();
  }

  @Transactional (propagation=Propagation.REQUIRES_NEW)
  public void method2() {
    //do something
  }
}

, , , , . * (* , , ). .

, Spring AOP, method1() . method1() MyServiceImpl. method1() method2(), , , , .

, , . . : -, Spring AOP, JDK, CGLIB; , CTW LTW . ?.

: ? .

https://habrahabr.ru/post/347752/

:  

: [1] []
 

:
: 

: ( )

:

  URL