Question from the Spring test

How is the transaction mechanism implemented in Spring?