org.apache.myfaces.custom.conversation
Interface PersistenceManager


public interface PersistenceManager

the interface to help the conversation framework to deal with your persistence manager (EntityManager)

Author:
imario@apache.org

Method Summary
 void attach()
          attach to your underlaying persistence
 void commit()
          commit the transaction
 void detach()
          detach from your underlaying persistence
 void purge()
          purge this persistence manager - e.g.
 void rollback()
          rollback the transaction
 

Method Detail

commit

void commit()
commit the transaction


rollback

void rollback()
rollback the transaction


attach

void attach()
attach to your underlaying persistence


detach

void detach()
detach from your underlaying persistence


purge

void purge()
purge this persistence manager - e.g. throw away your session due to some exceptions



Copyright © 2011 The Apache Software Foundation. All Rights Reserved.