00001 #ifndef CondCore_DBCommon_ITransactionObserver_H 00002 #define CondCore_DBCommon_ITransactionObserver_H 00003 namespace cond{ 00004 class ITransaction; 00005 /* defines transaction observer interface 00006 **/ 00007 class ITransactionObserver{ 00008 public: 00009 ITransactionObserver(){} 00010 virtual ~ITransactionObserver(){} 00011 virtual void reactOnStartOfTransaction( const ITransaction* ) = 0; 00012 virtual void reactOnEndOfTransaction( const ITransaction* ) = 0; 00013 }; 00014 } 00015 #endif