forked from jqassistant-archive/jqa-spring-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#15 added support for transactional interfaces
- Loading branch information
Showing
4 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
.../jqassistant/plugin/spring/test/set/transaction/SpringTransactionalImplementingClass.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.jqassistant.plugin.spring.test.set.transaction; | ||
|
||
import org.springframework.stereotype.Service; | ||
|
||
@Service | ||
public class SpringTransactionalImplementingClass implements SpringTransactionalInterface { | ||
|
||
public static void staticMethod() { | ||
// intentionally left blank | ||
} | ||
|
||
public void transactionalImplementingClassMethod() { | ||
// intentionally left blank | ||
} | ||
|
||
@Override | ||
public void transactionalMethod() { | ||
// intentionally left blank | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...java/org/jqassistant/plugin/spring/test/set/transaction/SpringTransactionalInterface.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.jqassistant.plugin.spring.test.set.transaction; | ||
|
||
import org.springframework.transaction.annotation.Transactional; | ||
|
||
@Transactional | ||
public interface SpringTransactionalInterface { | ||
|
||
void transactionalMethod(); | ||
|
||
} |