KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > torque > manager > NoOpMethodResultCache


1 package org.apache.torque.manager;
2
3 /*
4  * Licensed to the Apache Software Foundation (ASF) under one
5  * or more contributor license agreements. See the NOTICE file
6  * distributed with this work for additional information
7  * regarding copyright ownership. The ASF licenses this file
8  * to you under the Apache License, Version 2.0 (the
9  * "License"); you may not use this file except in compliance
10  * with the License. You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing,
15  * software distributed under the License is distributed on an
16  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17  * KIND, either express or implied. See the License for the
18  * specific language governing permissions and limitations
19  * under the License.
20  */

21
22 import java.io.Serializable JavaDoc;
23 import org.apache.jcs.access.GroupCacheAccess;
24 import org.apache.torque.TorqueException;
25
26 /**
27  * This class provides a cache for convenient storage of method results
28  *
29  * @author <a HREF="mailto:jmcnally@collab.net">John McNally</a>
30  * @version $Id: NoOpMethodResultCache.java 473821 2006-11-11 22:37:25Z tv $
31  */

32 public class NoOpMethodResultCache
33     extends MethodResultCache
34 {
35     public NoOpMethodResultCache(GroupCacheAccess cache)
36         throws TorqueException
37     {
38         super();
39     }
40
41     public void clear()
42     {
43     }
44
45     protected Object JavaDoc getImpl(MethodCacheKey key)
46     {
47         return null;
48     }
49
50
51     protected Object JavaDoc putImpl(MethodCacheKey key, Object JavaDoc value)
52         throws TorqueException
53     {
54         return null;
55     }
56
57     protected Object JavaDoc removeImpl(MethodCacheKey key)
58         throws TorqueException
59     {
60         return null;
61     }
62
63
64     public Object JavaDoc get(Serializable JavaDoc instanceOrClass, String JavaDoc method)
65     {
66         return null;
67     }
68
69     public Object JavaDoc get(Serializable JavaDoc instanceOrClass, String JavaDoc method,
70                       Serializable JavaDoc arg1)
71     {
72         return null;
73     }
74
75     public Object JavaDoc get(Serializable JavaDoc instanceOrClass, String JavaDoc method,
76                       Serializable JavaDoc arg1, Serializable JavaDoc arg2)
77     {
78         return null;
79     }
80
81     public Object JavaDoc get(Serializable JavaDoc instanceOrClass, String JavaDoc method,
82                       Serializable JavaDoc arg1, Serializable JavaDoc arg2,
83                       Serializable JavaDoc arg3)
84     {
85         return null;
86     }
87
88     public Object JavaDoc get(Serializable JavaDoc[] keys)
89     {
90         return null;
91     }
92
93     public void put(Object JavaDoc value, Serializable JavaDoc instanceOrClass, String JavaDoc method)
94     {
95     }
96
97     public void put(Object JavaDoc value, Serializable JavaDoc instanceOrClass,
98                     String JavaDoc method, Serializable JavaDoc arg1)
99     {
100     }
101
102     public void put(Object JavaDoc value, Serializable JavaDoc instanceOrClass, String JavaDoc method,
103                     Serializable JavaDoc arg1, Serializable JavaDoc arg2)
104     {
105     }
106
107     public void put(Object JavaDoc value, Serializable JavaDoc instanceOrClass, String JavaDoc method,
108                     Serializable JavaDoc arg1, Serializable JavaDoc arg2, Serializable JavaDoc arg3)
109     {
110     }
111
112     public void put(Object JavaDoc value, Serializable JavaDoc[] keys)
113     {
114     }
115
116
117     public void removeAll(Serializable JavaDoc instanceOrClass, String JavaDoc method)
118     {
119     }
120
121
122     public Object JavaDoc remove(Serializable JavaDoc instanceOrClass, String JavaDoc method)
123     {
124         return null;
125     }
126
127     public Object JavaDoc remove(Serializable JavaDoc instanceOrClass, String JavaDoc method,
128                          Serializable JavaDoc arg1)
129     {
130         return null;
131     }
132
133     public Object JavaDoc remove(Serializable JavaDoc instanceOrClass, String JavaDoc method,
134                          Serializable JavaDoc arg1, Serializable JavaDoc arg2)
135     {
136         return null;
137     }
138
139     public Object JavaDoc remove(Serializable JavaDoc instanceOrClass, String JavaDoc method,
140                          Serializable JavaDoc arg1, Serializable JavaDoc arg2,
141                          Serializable JavaDoc arg3)
142     {
143         return null;
144     }
145
146     public Object JavaDoc remove(Serializable JavaDoc[] keys)
147     {
148         return null;
149     }
150 }
151
Popular Tags