org.openrdf.elmo.sesame
Class SesameTransaction

java.lang.Object
  extended by org.openrdf.elmo.sesame.SesameTransaction
All Implemented Interfaces:
EntityTransaction

public class SesameTransaction
extends Object
implements EntityTransaction

JPA EntityTransaction interface for SesameBeanManager.

Author:
James Leigh

Constructor Summary
SesameTransaction(RepositoryConnection conn)
           
 
Method Summary
 void begin()
           
 void commit()
           
 boolean getRollbackOnly()
           
 boolean isActive()
           
 void rollback()
           
 void setRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SesameTransaction

public SesameTransaction(RepositoryConnection conn)
Method Detail

begin

public void begin()
Specified by:
begin in interface EntityTransaction

commit

public void commit()
Specified by:
commit in interface EntityTransaction

rollback

public void rollback()
Specified by:
rollback in interface EntityTransaction

setRollbackOnly

public void setRollbackOnly()
Specified by:
setRollbackOnly in interface EntityTransaction

getRollbackOnly

public boolean getRollbackOnly()
Specified by:
getRollbackOnly in interface EntityTransaction

isActive

public boolean isActive()
Specified by:
isActive in interface EntityTransaction


Copyright © 2004-2008 Aduna. All Rights Reserved.