org.xmlecho.palomar.xfs
Interface Transaction


public interface Transaction


Method Summary
 void addParticipant(TransactionParticipant tp)
          add an item which will be interested in being notified of commit and/or rollback actions
 void close()
           
 void commit()
           
 java.sql.Connection getDBProxy()
           
 void rollback()
           
 

Method Detail

commit

public void commit()
            throws java.sql.SQLException
Throws:
java.sql.SQLException

rollback

public void rollback()
              throws java.sql.SQLException
Throws:
java.sql.SQLException

addParticipant

public void addParticipant(TransactionParticipant tp)
add an item which will be interested in being notified of commit and/or rollback actions


getDBProxy

public java.sql.Connection getDBProxy()

close

public void close()
           throws java.lang.Exception
Throws:
java.lang.Exception