KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > bytecode > TransparentAccess


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.bytecode;
5
6 import java.util.Map JavaDoc;
7
8 /**
9  * This interface is used to allow *physically* managed objects to be read and updated
10  */

11 public interface TransparentAccess {
12   public static final String JavaDoc CLASS = "com/tc/object/bytecode/TransparentAccess";
13   public static final String JavaDoc TYPE = "L" + CLASS + ";";
14
15   public void __tc_getallfields(Map JavaDoc map);
16
17   public void __tc_setfield(String JavaDoc name, Object JavaDoc value);
18
19   // These two methods are called from the TC instrumented version of the
20
// reflection classes (java.lang.reflect.Field, etc)
21
public Object JavaDoc __tc_getmanagedfield(String JavaDoc name);
22
23   public void __tc_setmanagedfield(String JavaDoc name, Object JavaDoc value);
24 }
25
Popular Tags