Package org.eclipse.jetty.jndi
Interface NamingContext.Listener
-
- Enclosing class:
- NamingContext
public static interface NamingContext.Listener
Naming Context Listener.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.naming.Binding
bind(NamingContext ctx, javax.naming.Binding binding)
Called byNamingContext.addBinding(Name, Object)
when adding a binding.void
unbind(NamingContext ctx, javax.naming.Binding binding)
-
-
-
Method Detail
-
bind
javax.naming.Binding bind(NamingContext ctx, javax.naming.Binding binding)
Called byNamingContext.addBinding(Name, Object)
when adding a binding.- Parameters:
ctx
- The context to add to.binding
- The binding to add.- Returns:
- The binding to bind, or null if the binding should be ignored.
-
unbind
void unbind(NamingContext ctx, javax.naming.Binding binding)
- Parameters:
ctx
- The context to unbind frombinding
- The binding that was unbound.
-
-