-
- Type Parameters:
T
- the type of object stored in the namespace
public interface BindListener<T>
Listener for detecting the assignment of names to objects in a namespace. For namespaces with renaming collision policies, this is an easy way to discover the name chosen by the policy. Registering aBindListener
to aNamespaceBuilder
will cause it to be invoked on every entry added.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
boundName(T entry, String name)
Signals the association of the specified object and name.
-
-
-
Method Detail
-
boundName
void boundName(T entry, String name)
Signals the association of the specified object and name. ANamespaceBuilder
will call this for every successfully added namespace entry.- Parameters:
entry
- the object added to the namespacename
- the name associated with the object. This may not be the same as requested by the add, depending on collision policy.
-
-