01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.object.bytecode;
06:
07: import java.util.Map;
08:
09: /**
10: * This interface is used to allow *physically* managed objects to be read and updated
11: */
12: public interface TransparentAccess {
13:
14: public void __tc_getallfields(Map map);
15:
16: public void __tc_setfield(String name, Object value);
17:
18: // These two methods are called from the TC instrumented version of the
19: // reflection classes (java.lang.reflect.Field, etc)
20: public Object __tc_getmanagedfield(String name);
21:
22: public void __tc_setmanagedfield(String name, Object value);
23: }
|