|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IResource
A resource involved in a transactional task.
| Method Summary | |
|---|---|
void |
begin()
begin is performed upon insertion of a resource in an active ITransaction or upon start of an ITransaction already
containing the IResource. |
void |
commit()
commit is performed when the ITransaction containing the
IResource is committed. |
IResource |
getParent()
If this resource supports hierarchies, the optional parent is returned. |
IResourceType |
getType()
The type that created this resource. |
void |
resume()
resume is performed when the ITransaction containing the
IResource is resumed. |
void |
rollback()
rollback is performed when the ITransaction containing the
IResource is rolled back. |
void |
suspend()
suspend is performed when the ITransaction containing the
IResource is suspended. |
| Method Detail |
|---|
void begin()
throws ResourceException
ITransaction or upon start of an ITransaction already
containing the IResource.
ResourceException
void commit()
throws ResourceException
ITransaction containing the
IResource is committed.
ResourceExceptionIResource getParent()
IResourceType getType()
void resume()
ITransaction containing the
IResource is resumed.
ResourceException
void rollback()
throws ResourceException
ITransaction containing the
IResource is rolled back.
ResourceExceptionvoid suspend()
ITransaction containing the
IResource is suspended.
ResourceException
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||