01: package org.jacorb.transaction;
02:
03: /*
04:
05: * JacORB transaction service - a free TS for JacORB
06:
07: *
08:
09: * Copyright (C) 1999-2004 LogicLand group Alex Sinishin.
10:
11: *
12:
13: * This library is free software; you can redistribute it and/or
14:
15: * modify it under the terms of the GNU Library General Public
16:
17: * License as published by the Free Software Foundation; either
18:
19: * version 2 of the License, or (at your option) any later version.
20:
21: *
22:
23: * This library is distributed in the hope that it will be useful,
24:
25: * but WITHOUT ANY WARRANTY; without even the implied warranty of
26:
27: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28:
29: * Library General Public License for more details.
30:
31: *
32:
33: * You should have received a copy of the GNU Library General Public
34:
35: * License along with this library; if not, write to the Free
36:
37: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
38:
39: */
40:
41: import org.omg.CosTransactions.*;
42:
43: public class ResourceImpl implements ResourceOperations {
44:
45: public Vote prepare() throws HeuristicMixed, HeuristicHazard {
46:
47: throw new org.omg.CORBA.NO_IMPLEMENT();
48:
49: }
50:
51: public void rollback() throws HeuristicCommit,
52:
53: HeuristicMixed, HeuristicHazard {
54:
55: throw new org.omg.CORBA.NO_IMPLEMENT();
56:
57: }
58:
59: public void commit() throws NotPrepared, HeuristicRollback,
60:
61: HeuristicMixed, HeuristicHazard {
62:
63: throw new org.omg.CORBA.NO_IMPLEMENT();
64:
65: }
66:
67: public void commit_one_phase() throws HeuristicHazard {
68:
69: throw new org.omg.CORBA.NO_IMPLEMENT();
70:
71: }
72:
73: public void forget() {
74:
75: throw new org.omg.CORBA.NO_IMPLEMENT();
76:
77: }
78:
79: }
|