KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > simulator > listener > MockListenerProvider


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.simulator.listener;
5
6
7 import java.util.Properties JavaDoc;
8
9
10
11 public class MockListenerProvider implements ListenerProvider {
12
13   public OutputListener outputListener;
14   public ResultsListener resultsListener;
15   public StatsListener statsListener;
16   
17   public OutputListener getOutputListener() {
18         return outputListener;
19   }
20
21   public ResultsListener getResultsListener() {
22     return this.resultsListener;
23   }
24
25   public StatsListener getStatsListener() {
26     return statsListener;
27   }
28
29   public StatsListener newStatsListener(Properties JavaDoc properties) {
30     return statsListener;
31   }
32
33 }
Popular Tags