public static interface NamingContext.Listener
Modifier and Type | Method and Description |
---|---|
Binding |
bind(NamingContext ctx,
Binding binding)
Called by
NamingContext.addBinding(Name, Object) when adding
a binding. |
void |
unbind(NamingContext ctx,
Binding binding) |
Binding bind(NamingContext ctx, Binding binding)
NamingContext.addBinding(Name, Object)
when adding
a binding.ctx
- The context to add to.binding
- The binding to add.void unbind(NamingContext ctx, Binding binding)
ctx
- The context to unbind frombinding
- The binding that was unbound.Copyright © 1995-2015 Webtide. All Rights Reserved.