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.listen;
05:
06: import org.apache.xmlbeans.XmlObject;
07:
08: /**
09: * A {@link ConfigurationChangeListener} that doesn't do anything.
10: */
11: public class NullConfigurationChangeListener implements
12: ConfigurationChangeListener {
13:
14: private static final NullConfigurationChangeListener INSTANCE = new NullConfigurationChangeListener();
15:
16: public static NullConfigurationChangeListener getInstance() {
17: return INSTANCE;
18: }
19:
20: private NullConfigurationChangeListener() {
21: // Nothing here.
22: }
23:
24: public void configurationChanged(XmlObject oldConfig,
25: XmlObject newConfig) {
26: // Nothing here.
27: }
28:
29: }
|