|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.syrtsov.ddao.DaoUtils
public class DaoUtils
DaoUtils provides utility methods that can be used with DDao framework.
Created by Pavel Syrtsov Date: Aug 25, 2007 Time: 2:18:03 PM
| Constructor Summary | |
|---|---|
DaoUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
execInTx(java.lang.Object dao,
java.util.concurrent.Callable<T> callable)
|
|
static void |
execInTx(java.lang.Object dao,
java.lang.Runnable runnable)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DaoUtils()
| Method Detail |
|---|
public static <T> T execInTx(java.lang.Object dao,
java.util.concurrent.Callable<T> callable)
throws java.lang.Exception
java.lang.Exception
public static void execInTx(java.lang.Object dao,
java.lang.Runnable runnable)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||