|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.resource.jdbc.task.simple.SimpleJdbcTask
public abstract class SimpleJdbcTask
An abstract implementation of JdbcTask, which will fire a
SimpleJdbcTaskResultEvent event. Aims to simplify usage of
JdbcTask when there is no need for custom event types.
| Constructor Summary | |
|---|---|
SimpleJdbcTask()
|
|
| Method Summary | |
|---|---|
JdbcTaskResult |
execute(JdbcTaskContext taskContext)
Invoked by the JDBC RA, requests asynchronously execution of the task logic. |
abstract java.lang.Object |
executeSimple(JdbcTaskContext taskContext)
Method to be overridden by concrete task implementations, return an "opaque" object as result of the task execution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleJdbcTask()
| Method Detail |
|---|
public JdbcTaskResult execute(JdbcTaskContext taskContext)
JdbcTask
execute in interface JdbcTasktaskContext - the context provided by the RA to help the task execution.
public abstract java.lang.Object executeSimple(JdbcTaskContext taskContext)
taskContext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||