|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jini.core.transaction.TransactionFactory
Factory methods for creating top-level transactions.
Method Summary | |
static NestableTransaction.Created |
create(NestableTransactionManager mgr,
long leaseTime)
Create a new top-level transaction, under which nested transactions can be created. |
static Transaction.Created |
create(TransactionManager mgr,
long leaseTime)
Create a new top-level transaction. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static Transaction.Created create(TransactionManager mgr, long leaseTime) throws LeaseDeniedException, java.rmi.RemoteException
NestableTransaction
.mgr
- the transaction manager to use for this transactionleaseTime
- the requested lease time for the transactionpublic static NestableTransaction.Created create(NestableTransactionManager mgr, long leaseTime) throws LeaseDeniedException, java.rmi.RemoteException
mgr
- the transaction manager to use for this transactionleaseTime
- the requested lease time for the transaction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |