com.sun.spot.globals
Class SpotGlobals
java.lang.Object
com.sun.spot.globals.SpotGlobals
public class SpotGlobals
- extends Object
SpotGlobals provides access from the SPOT library to objects that are global across the whole VM; that is,
not limited to a single isolate. This facility should be used only from SPOT library code, not user applications.
All clients must wrap access to SpotGlobals in a synchronised block:
synchronized (SpotGlobals.getMutex()) {
// manipulate SpotGlobals here ...
}
SpotGlobals
public SpotGlobals()
getGlobal
public static Object getGlobal(int key)
getMutex
public static Object getMutex()
setGlobal
public static void setGlobal(int key,
Object value)
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.