KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > transaction > ResourceImpl


1 package org.jacorb.transaction;
2
3
4
5 /*
6
7  * JacORB transaction service - a free TS for JacORB
8
9  *
10
11  * Copyright (C) 1999-2004 LogicLand group Alex Sinishin.
12
13  *
14
15  * This library is free software; you can redistribute it and/or
16
17  * modify it under the terms of the GNU Library General Public
18
19  * License as published by the Free Software Foundation; either
20
21  * version 2 of the License, or (at your option) any later version.
22
23  *
24
25  * This library is distributed in the hope that it will be useful,
26
27  * but WITHOUT ANY WARRANTY; without even the implied warranty of
28
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30
31  * Library General Public License for more details.
32
33  *
34
35  * You should have received a copy of the GNU Library General Public
36
37  * License along with this library; if not, write to the Free
38
39  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
40
41  */

42
43
44
45
46
47 import org.omg.CosTransactions.*;
48
49
50
51 public class ResourceImpl implements ResourceOperations {
52
53                           
54
55     public Vote prepare() throws HeuristicMixed, HeuristicHazard{
56
57         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
58
59     }
60
61
62
63     public void rollback() throws HeuristicCommit,
64
65                                   HeuristicMixed, HeuristicHazard{
66
67         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
68
69     }
70
71
72
73     public void commit() throws NotPrepared, HeuristicRollback,
74
75                                 HeuristicMixed, HeuristicHazard{
76
77         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
78
79     }
80
81
82
83     public void commit_one_phase() throws HeuristicHazard{
84
85         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
86
87     }
88
89
90
91     public void forget(){
92
93         throw new org.omg.CORBA.NO_IMPLEMENT JavaDoc();
94
95     }
96
97
98
99 }
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Popular Tags