Package org.eclipse.jetty.jndi
Interface NamingContext.Listener
- Enclosing class:
- NamingContext
public static interface NamingContext.Listener
Naming Context Listener.
-
Method Summary
Modifier and TypeMethodDescriptionbind
(NamingContext ctx, Binding binding) Called byNamingContext.addBinding(Name, Object)
when adding a binding.void
unbind
(NamingContext ctx, Binding binding)
-
Method Details
-
bind
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
- Parameters:
ctx
- The context to unbind frombinding
- The binding that was unbound.
-