Code example for ConcurrentMap

Methods: remove

0
      return registry.putIfAbsent(name, obj) == null;
   } 
 
   public void unbind(String name)
   { 
      registry.remove(name);
   } 
 
   public void close() 
   { 
   } 
 
   public Object getContext()
   { 
      return registry;
   } 
 
   /* (non-Javadoc) 
    * @see org.hornetq.spi.core.naming.BindingRegistry#setContext(java.lang.Object) 
    */ 
   public void setContext(Object ctx)