|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.elib.serial.BaseLoader | +--org.erights.e.elang.interp.UnsafeLoader
The Loader bound to unsafe__uriGetter.
As explained in the superclass comment, this must be thread-safe.
Field Summary | |
private FlexMap |
myLocals
The values in the slots are either ESTaticWrappers around Class objects (for classes), PackageScopes (for packages). |
private ClassLoader |
myOptLoader
We assume that ClassLoaders are thread-safe |
static UnsafeLoader |
THE_ONE
|
Constructor Summary | |
private |
UnsafeLoader()
optLoader defaults to null. |
private |
UnsafeLoader(ClassLoader optLoader)
|
Method Summary | |
Object |
get(String fqName)
exception if not found |
private Slot |
getLocalSlot(String fqName)
|
private Object |
getWrapped(String fqName)
exception if not found |
Object[] |
optUncall(Object obj)
This only need work for StaticMakers. |
String |
toString()
Suppressed: Returns a string representation of the object. |
Methods inherited from class org.erights.e.elib.serial.BaseLoader |
getOptWrappingUncall, optUnget, ungetToUncall |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final UnsafeLoader THE_ONE
private final ClassLoader myOptLoader
private final FlexMap myLocals
Must synchronize access to this
Constructor Detail |
private UnsafeLoader(ClassLoader optLoader)
private UnsafeLoader()
Method Detail |
private Object getWrapped(String fqName)
private Slot getLocalSlot(String fqName)
public Object get(String fqName)
public Object[] optUncall(Object obj)
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |