com.sun.rtsjx
Class ReplacementForScopeAllocatedObject

java.lang.Object
  extended by 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.


Constructor Summary
ReplacementForScopeAllocatedObject()
           
 
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
 

Constructor Detail

ReplacementForScopeAllocatedObject

public ReplacementForScopeAllocatedObject()
Method Detail

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.