Subversion Repositories bacoAlunos

Rev

Rev 1310 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1310 Rev 1781
Line 25... Line 25...
25
 *
25
 *
26
 * Created at 19/Out/2003 , 14:56:47
26
 * Created at 19/Out/2003 , 14:56:47
27
 *
27
 *
28
 */
28
 */
29
package pt.utl.ist.berserk.storage.empty;
29
package pt.utl.ist.berserk.storage.empty;
30
import java.util.List;
-
 
31
import pt.utl.ist.berserk.storage.ITransactionBroker;
30
import pt.utl.ist.berserk.storage.ITransactionBroker;
32
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
 
-
 
34
import java.util.List;
33
/**
35
/**
34
 * Does absolutely nothing.<br/>
36
 * Does absolutely nothing.<br/>
35
 * Use this if you don't want a transictional manager.<br/>
37
 * Use this if you don't want a transictional manager.<br/>
36
 * You must specify one. Otherwise BERSERK doesn't work.
38
 * You must specify one. Otherwise BERSERK doesn't work.
37
 * @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
39
 * @author Goncalo Luiz gedl [AT] rnl [DOT] ist [DOT] utl [DOT] pt
Line 50... Line 52...
50
        {
52
        {
51
                if (instance == null)
53
                if (instance == null)
52
                        instance = new TransactionBrokerEmpty();
54
                        instance = new TransactionBrokerEmpty();
53
                return instance;
55
                return instance;
54
        }
56
        }
-
 
57
    public boolean isTransactionActive() throws StorageException
-
 
58
    {
-
 
59
        throw new NotImplementedException();
-
 
60
    }
55
        public void beginTransaction() throws StorageException
61
        public void beginTransaction() throws StorageException
56
        {
62
        {
57
        }
63
        }
58
        public void commitTransaction() throws StorageException
64
        public void commitTransaction() throws StorageException
59
        {
65
        {