Rev 1781 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1781 | Rev 1827 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | * |
27 | * |
28 | */ |
28 | */ |
29 | package pt.utl.ist.berserk.storage.empty; |
29 | package pt.utl.ist.berserk.storage.empty; |
30 | import pt.utl.ist.berserk.storage.ITransactionBroker; |
30 | import pt.utl.ist.berserk.storage.ITransactionBroker; |
31 | import pt.utl.ist.berserk.storage.exceptions.StorageException; |
31 | import pt.utl.ist.berserk.storage.exceptions.StorageException; |
32 | import sun.reflect.generics.reflectiveObjects.NotImplementedException; |
- | |
33 | 32 | ||
34 | import java.util.List; |
33 | import java.util.List; |
35 | /** |
34 | /** |
36 | * Does absolutely nothing.<br/> |
35 | * Does absolutely nothing.<br/> |
37 | * Use this if you don't want a transictional manager.<br/> |
36 | * Use this if you don't want a transictional manager.<br/> |
Line 54... | Line 53... | ||
54 | instance = new TransactionBrokerEmpty(); |
53 | instance = new TransactionBrokerEmpty(); |
55 | return instance; |
54 | return instance; |
56 | } |
55 | } |
57 | public boolean isTransactionActive() throws StorageException |
56 | public boolean isTransactionActive() throws StorageException |
58 | { |
57 | { |
59 | throw new NotImplementedException(); |
58 | throw new 1.5.0/docs/api/java/lang/RuntimeException.html">RuntimeException("Not Implemented"); |
60 | } |
59 | } |
61 | public void beginTransaction() throws StorageException |
60 | public void beginTransaction() throws StorageException |
62 | { |
61 | { |
63 | } |
62 | } |
64 | public void commitTransaction() throws StorageException |
63 | public void commitTransaction() throws StorageException |