|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.extend.OutboundContext
public final class OutboundContext
We need to keep track of stuff while we are converting on the way out to prevent recurrsion. This class helps track the conversion process.
Constructor Summary | |
---|---|
OutboundContext()
JDK14: Can use IdentityHashMap directly Since map needs to have referencial equality rather than object equality this constructor tries to use java.util.IdentityHashMap (>=1.4), and failing that falls back on wrapper objects in a HashMap. |
Method Summary | |
---|---|
OutboundVariable |
get(java.lang.Object object)
Have we already converted an object? |
java.lang.String |
getNextVariableName()
Create a new variable name to keep everything we declare separate |
void |
put(java.lang.Object object,
OutboundVariable ss)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OutboundContext()
Method Detail |
---|
public OutboundVariable get(java.lang.Object object)
object
- The object to check
public void put(java.lang.Object object, OutboundVariable ss)
object
- We have converted a new object, remember itss
- How the object was convertedpublic java.lang.String getNextVariableName()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |