public interface IResource
| Modifier and Type | Method and Description |
|---|---|
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. |
void begin()
throws ResourceException
ITransaction or upon start of an ITransaction already
containing the IResource.ResourceExceptionvoid commit()
throws ResourceException
ITransaction containing the
IResource is committed.ResourceExceptionIResource getParent()
IResourceType getType()
void resume()
ITransaction containing the
IResource is resumed.ResourceExceptionvoid rollback()
throws ResourceException
ITransaction containing the
IResource is rolled back.ResourceExceptionvoid suspend()
ITransaction containing the
IResource is suspended.ResourceExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.