01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.bytecode;
05:
06: import com.tc.object.TCObject;
07:
08: /**
09: * Manageable interface for locks, etc.
10: */
11: public interface Manageable {
12:
13: /**
14: * Pass in TCObject peer for this object
15: * @param t TCObject
16: */
17: public void __tc_managed(TCObject t);
18:
19: /**
20: * Get TCObject for this object
21: * @return The TCObject
22: */
23: public TCObject __tc_managed();
24:
25: /**
26: * Check whether this object is managed
27: * @return True if managed
28: */
29: public boolean __tc_isManaged();
30:
31: }
|