org.jboss.forge.resource
Class ResourceTransactionImpl
java.lang.Object
org.jboss.forge.resource.ResourceTransactionImpl
- All Implemented Interfaces:
- ResourceTransaction
public class ResourceTransactionImpl
- extends Object
- implements ResourceTransaction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceTransactionImpl
public ResourceTransactionImpl(ResourceFactoryImpl factoryImpl)
throws ResourceException
- Throws:
ResourceException
commit
public void commit()
throws ResourceException
- Specified by:
commit in interface ResourceTransaction
- Throws:
ResourceException
rollback
public void rollback()
throws ResourceException
- Specified by:
rollback in interface ResourceTransaction
- Throws:
ResourceException
decorateResource
public <TYPE> Resource<TYPE> decorateResource(Resource<TYPE> resource)
- Decorates a Resource
- Parameters:
resource -
- Returns:
getChangeSet
public ChangeSet getChangeSet()
- Specified by:
getChangeSet in interface ResourceTransaction
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.