1 /**2 * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.3 */4 package com.tc.async.impl;5 6 import com.tc.async.api.AbstractEventHandler;7 import com.tc.async.api.EventContext;8 9 import java.util.LinkedList ;10 import java.util.List ;11 12 /**13 * @author steve14 */15 public class TestEventHandler extends AbstractEventHandler {16 private LinkedList contexts = new LinkedList ();17 18 /*19 * (non-Javadoc)20 * 21 * @see com.tc.async.api.EventHandler#handleEvent(com.tc.async.api.EventContext)22 */23 public void handleEvent(EventContext context) {24 contexts.add(context);25 }26 27 public List getContexts() {28 return contexts;29 }30 }