|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dyuproject.ioc.config.References
public class References
A collection of multiple Reference
objects.
Constructor Summary | |
---|---|
References()
|
|
References(Map<String,Object> map)
|
Method Summary | |
---|---|
void |
addRefs(References refs)
Add refs to this References object. |
void |
destroy()
Destroy this object and all its references to other objects. |
void |
fromJSON(Map map)
|
Object |
get(String key)
Gets a referenced object with the given key . |
static References |
getLast(References refs)
Looks up the References starting from the last. |
static Object |
getRef(String key,
References refs)
Gets a referenced object from the provided refs . |
Object |
put(String key,
Object value)
Puts a referenced object with the given key . |
void |
putAll(Map<String,Object> map)
Puts a collection of referenced objects. |
void |
toJSON(org.mortbay.util.ajax.JSON.Output out)
|
static void |
wrapRefs(References refs,
References wrapper)
Wraps the refs into the wrapper . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public References()
public References(Map<String,Object> map)
Method Detail |
---|
public static References getLast(References refs)
References
starting from the last.
public static void wrapRefs(References refs, References wrapper)
refs
into the wrapper
.
public static Object getRef(String key, References refs)
refs
.
public final void addRefs(References refs)
refs
to this References
object.
public final Object put(String key, Object value)
key
.
public final Object get(String key)
key
.
public final void putAll(Map<String,Object> map)
public final void fromJSON(Map map)
fromJSON
in interface org.mortbay.util.ajax.JSON.Convertible
public final void toJSON(org.mortbay.util.ajax.JSON.Output out)
toJSON
in interface org.mortbay.util.ajax.JSON.Convertible
public final void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |