-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
13 additions
and
20 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
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[![Build Status](https://travis-ci.org/EJBadass/ejbadass-test.svg?branch=master)](https://travis-ci.org/EJBadass/ejbadass-test) | ||
# ejbadass-test | ||
Test project for the EJBadass container. | ||
Test project for the EJBadass container. | ||
|
||
## How to run the tests | ||
You just have to download the test project, and use maven to run the tests, it will automatically download needed jars (ejbadass-api, ejbadass-log-plugin, ejbadass-transaction-plugin). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
package fr.isima.ejbadass.stub.interfaces; | ||
|
||
import fr.isima.ejbadass.log.Log; | ||
|
||
public interface ILogService { | ||
@Log | ||
void loggedMethod(); | ||
} |
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 |
---|---|---|
@@ -1,15 +1,8 @@ | ||
package fr.isima.ejbadass.stub.interfaces; | ||
|
||
import fr.isima.ejbadass.transaction.TransactionType; | ||
import fr.isima.ejbadass.transaction.Transactional; | ||
|
||
public interface ITransacService { | ||
@Transactional(value=TransactionType.REQUIRED) | ||
public void transactionalMethod(int i) throws Exception; | ||
@Transactional(value=TransactionType.REQUIRED) | ||
public void transactionalMethod2(); | ||
@Transactional(value=TransactionType.REQUIRES_NEW) | ||
public void transactionalMethod3(); | ||
@Transactional(value=TransactionType.REQUIRED) | ||
public void transactionalMethod4() throws Exception; | ||
} |
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