@Override
	public ParseResult beforeInvocation(ParseResult invocationContext) {
		// check whether the Hadoop configuration has changed
		if (needToReinitialize) {
			try {
				this.needToReinitialize = !configurationChanged();
			}
			catch (Exception ex) {
				logUpdateError(ex);
			}
		}
		return invocationContext;
	}
Utility base class for components monitoring {@link Configuration} changes in order to update state.

@author Costin Leau
@author Jarred Li
@author Glenn Renfro
spring-xd-shell/src/main/java/org/springframework/xd/shell/hadoop/ConfigurationAware.java