@Service(value="cuba_TestingService") public class TestingServiceBean extends java.lang.Object implements TestingService
TestingService.TestExceptionNAME| 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 TestingServicepublic java.lang.String execute()
execute in interface TestingServicepublic boolean primitiveParameters(boolean b,
int i,
long l,
double d)
primitiveParameters in interface TestingServicepublic java.lang.String executeWithException()
throws TestingService.TestException
executeWithException in interface TestingServiceTestingService.TestExceptionpublic void clearScheduledTasks()
TestingServiceclearScheduledTasks in interface TestingServicepublic java.lang.Object leaveOpenTransaction()
leaveOpenTransaction in interface TestingService@Transactional public void declarativeTransaction()
declarativeTransaction in interface TestingService