com.sun.rtsjx
Class ReplacementForScopeAllocatedObject
java.lang.Object
com.sun.rtsjx.ReplacementForScopeAllocatedObject
public class ReplacementForScopeAllocatedObject
- extends java.lang.Object
Dummy class used in place of real ScopedMemory objects.
This can be used by tools when a ScopedMemory object
could not safely be exported.
Method Summary |
static java.lang.Object |
getInstance()
Get an object to represent a scoped allocated object. |
static java.lang.Thread |
getThread()
Get an object to represent a scoped allocated Thread. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ReplacementForScopeAllocatedObject
public ReplacementForScopeAllocatedObject()
getInstance
public static java.lang.Object getInstance()
- Get an object to represent a scoped allocated object.
- Returns:
- an allocated Object which replaces a scope allocated object.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getThread
public static java.lang.Thread getThread()
- Get an object to represent a scoped allocated Thread.
- Returns:
- a Thread object which replaces a scope allocated thread.