01: //
02: //This file is part of the prose package.
03: //
04: //The contents of this file are subject to the Mozilla Public License
05: //Version 1.1 (the "License"); you may not use this file except in
06: //compliance with the License. You may obtain a copy of the License at
07: //http://www.mozilla.org/MPL/
08: //
09: //Software distributed under the License is distributed on an "AS IS" basis,
10: //WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11: //for the specific language governing rights and limitations under the
12: //License.
13: //
14: //The Original Code is prose.
15: //
16: //Contributor(s):
17: //$Id$
18: //=====================================================================
19: //
20: //(history at end)
21: //
22:
23: package ch.ethz.inf.iks.jvmai.jvmdi;
24:
25: import java.lang.reflect.Member;
26: import ch.ethz.jvmai.MethodWeaver;
27:
28: /**
29: * Wrapper for <CODE>HotSwapAdvancedClassWeaver</CODE>. Member methods are
30: * forwarders for public static methods of <CODE>
31: * HotSwapAdvancedClassWeaver</CODE>.
32: *
33: * @see ch.ethz.inf.iks.jvmai.jvmdi.HotSwapClassWeaver
34: * @see ch.ethz.inf.iks.jvmai.jvmdi.HotSwapAdvancedClassWeaver
35: *
36: * @author Gerald Linhofer
37: */
38: class HotSwapAdvancedClassWeaverWrapper implements
39: HotSwapClassWeaverWrapper {
40: /**
41: * @see ch.ethz.inf.iks.jvmai.jvmdi.HotSwapClassWeaverWrapper#commit()
42: */
43: public void commit() {
44: HotSwapAdvancedClassWeaver.commit();
45: }
46:
47: /**
48: * @see ch.ethz.inf.iks.jvmai.jvmdi.HotSwapClassWeaverWrapper#getWeaver(java.lang.reflect.Member)
49: */
50: public MethodWeaver getWeaver(Member method) {
51: return HotSwapAdvancedClassWeaver.getWeaver(method);
52: }
53:
54: /**
55: * @see ch.ethz.inf.iks.jvmai.jvmdi.HotSwapClassWeaverWrapper#idToMethod(int)
56: */
57: public Member idToMethod(int id) {
58: return HotSwapAdvancedClassWeaver.idToMethod(id);
59: }
60:
61: /**
62: * @see ch.ethz.inf.iks.jvmai.jvmdi.HotSwapClassWeaverWrapper#resetAll()
63: */
64: public void resetAll() {
65: HotSwapAdvancedClassWeaver.resetAll();
66: }
67:
68: /**
69: * @see ch.ethz.inf.iks.jvmai.jvmdi.HotSwapClassWeaverWrapper#setAspectInterface(ch.ethz.inf.iks.jvmai.jvmdi.HotSwapAspectInterfaceImpl)
70: */
71: public void setAspectInterface(HotSwapAspectInterfaceImpl ai) {
72: HotSwapAdvancedClassWeaver.setAspectInterface(ai);
73: }
74:
75: }
76:
77: //======================================================================
78: //
79: //$Log$
80: //
81: //
|