public interface ITransactionService
| Modifier and Type | Field and Description |
|---|---|
static String |
MBEAN_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
start the current transaction
|
void |
cleanTransactionContext()
Clean pending transactions.
|
void |
commit()
commits the resources associated with the current transaction
|
ITransactionResource |
getResource(String resourceId)
return an existing resource
|
boolean |
isStarted()
indicates if the transaction is started (and not finished)
|
void |
register(String resourceId,
ITransactionResource resource)
register a resource
|
void |
registerPostcommit(IPostcommitResource resource)
register a post commit resource
|
void |
rollback()
rollback the resource associated with the current transaction
|
static final String MBEAN_NAME
void register(String resourceId, ITransactionResource resource) throws PortalException
PortalExceptionvoid registerPostcommit(IPostcommitResource resource) throws PortalException
PortalExceptionITransactionResource getResource(String resourceId)
boolean isStarted()
void begin()
void commit()
void rollback()
void cleanTransactionContext()
Copyright © 2022. All rights reserved.