comparison src/org/eclipse/jetty/util/component/Container.java @ 820:8e9db0bbf4f9

remove org.eclipse.jetty.util.log and upgrade slf4j
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 13 Sep 2016 23:13:06 -0600
parents 3428c60d7cfc
children
comparison
equal deleted inserted replaced
819:17bd0b170ed6 820:8e9db0bbf4f9
20 import java.lang.ref.WeakReference; 20 import java.lang.ref.WeakReference;
21 import java.util.EventListener; 21 import java.util.EventListener;
22 import java.util.concurrent.CopyOnWriteArrayList; 22 import java.util.concurrent.CopyOnWriteArrayList;
23 23
24 import org.eclipse.jetty.util.LazyList; 24 import org.eclipse.jetty.util.LazyList;
25 import org.eclipse.jetty.util.log.Log; 25 import org.slf4j.Logger;
26 import org.eclipse.jetty.util.log.Logger; 26 import org.slf4j.LoggerFactory;
27 27
28 /* ------------------------------------------------------------ */ 28 /* ------------------------------------------------------------ */
29 /** Container. 29 /** Container.
30 * This class allows a containment events to be generated from update methods. 30 * This class allows a containment events to be generated from update methods.
31 * 31 *
43 * } 43 * }
44 * </pre> 44 * </pre>
45 */ 45 */
46 public class Container 46 public class Container
47 { 47 {
48 private static final Logger LOG = Log.getLogger(Container.class); 48 private static final Logger LOG = LoggerFactory.getLogger(Container.class);
49 private final CopyOnWriteArrayList<Container.Listener> _listeners=new CopyOnWriteArrayList<Container.Listener>(); 49 private final CopyOnWriteArrayList<Container.Listener> _listeners=new CopyOnWriteArrayList<Container.Listener>();
50 50
51 public void addEventListener(Container.Listener listener) 51 public void addEventListener(Container.Listener listener)
52 { 52 {
53 _listeners.add(listener); 53 _listeners.add(listener);