|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nodal.util.BindingContexts
The default implementation for BindingContext. Created on Jul 17, 2003
| Constructor Summary | |
protected |
BindingContexts(BindingContext parent,
java.util.Map bindings)
A private constructor to ensure that all creations pass through the static constructor create(). |
| Method Summary | |
java.lang.Object |
bind(Name nm,
java.lang.Object val)
Bind a value to the given Name. |
java.lang.Object |
bound(Name nm)
Obtain the Object bound to a particular Name. |
static BindingContext |
create()
Create a new BindingContext with strong, synchronized binding. |
static BindingContext |
createWeak()
Create a new BindingContext with weak, synchronized binding. |
static BindingContext |
embed(BindingContext parent)
Create a strong BindingContext that is enclosed in a parent binding. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected BindingContexts(BindingContext parent,
java.util.Map bindings)
create().
| Method Detail |
public static BindingContext create()
public static BindingContext createWeak()
public static BindingContext embed(BindingContext parent)
parent - the enclosing BindingContext
public java.lang.Object bound(Name nm)
BindingContext
bound in interface BindingContextnm - the Name to use as a reference
public java.lang.Object bind(Name nm,
java.lang.Object val)
BindingContext
bind in interface BindingContextnm - the Name to use for this bindingval - the Object to use as a value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||