01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.config.schema.dynamic;
05:
06: /**
07: * A {@link ConfigItemListener} that does precisely nothing.
08: */
09: public class NullConfigItemListener implements ConfigItemListener {
10:
11: private static final NullConfigItemListener INSTANCE = new NullConfigItemListener();
12:
13: public static NullConfigItemListener getInstance() {
14: return INSTANCE;
15: }
16:
17: private NullConfigItemListener() {
18: // Nothing here.
19: }
20:
21: public void valueChanged(Object oldValue, Object newValue) {
22: // Nothing here.
23: }
24:
25: }
|