@Service(value="cuba_TestingService") public class TestingServiceBean extends java.lang.Object implements TestingService
TestingService.TestException
NAME
Constructor and Description |
---|
TestingServiceBean() |
Modifier and Type | Method and Description |
---|---|
void |
clearScheduledTasks()
Warning! Removes all scheduled tasks from the database!
|
void |
declarativeTransaction() |
java.lang.String |
execute() |
java.lang.String |
executeFor(int timeMillis) |
java.lang.String |
executeSelectSql(java.lang.String sql) |
java.lang.String |
executeUpdateSql(java.lang.String sql) |
java.lang.String |
executeWithException() |
java.lang.Object |
leaveOpenTransaction() |
boolean |
primitiveParameters(boolean b,
int i,
long l,
double d) |
public java.lang.String executeFor(int timeMillis)
executeFor
in interface TestingService
@Transactional(timeout=2) public java.lang.String executeUpdateSql(java.lang.String sql)
executeUpdateSql
in interface TestingService
@Transactional(timeout=2) public java.lang.String executeSelectSql(java.lang.String sql)
executeSelectSql
in interface TestingService
public java.lang.String execute()
execute
in interface TestingService
public boolean primitiveParameters(boolean b, int i, long l, double d)
primitiveParameters
in interface TestingService
public java.lang.String executeWithException() throws TestingService.TestException
executeWithException
in interface TestingService
TestingService.TestException
public void clearScheduledTasks()
TestingService
clearScheduledTasks
in interface TestingService
public java.lang.Object leaveOpenTransaction()
leaveOpenTransaction
in interface TestingService
@Transactional public void declarativeTransaction()
declarativeTransaction
in interface TestingService