NIFI-1157 removed methods no longer needed due to deprecation cleanup. In NIFI-2280 also ensure they were deprecated on the 0.x line. This closes #663.

This commit is contained in:
joewitt 2016-07-15 16:05:32 -04:00 committed by Mark Payne
parent 1c5975da86
commit ad02b43099
1 changed files with 0 additions and 28 deletions

View File

@ -16,12 +16,7 @@
*/
package org.apache.nifi.controller;
import java.util.Map;
import org.apache.nifi.annotation.lifecycle.OnConfigurationRestored;
import org.apache.nifi.components.AbstractConfigurableComponent;
import org.apache.nifi.components.PropertyDescriptor;
import org.apache.nifi.components.PropertyValue;
import org.apache.nifi.components.state.StateManager;
import org.apache.nifi.logging.ComponentLog;
import org.apache.nifi.processor.ProcessorInitializationContext;
@ -31,7 +26,6 @@ public abstract class AbstractControllerService extends AbstractConfigurableComp
private String identifier;
private ControllerServiceLookup serviceLookup;
private volatile ConfigurationContext configContext;
private ComponentLog logger;
private StateManager stateManager;
@ -49,28 +43,6 @@ public abstract class AbstractControllerService extends AbstractConfigurableComp
return identifier;
}
@OnConfigurationRestored
public void onConfigurationChange(final ConfigurationContext context) {
this.configContext = context;
}
/**
* @param descriptor to retrieve value of
* @return the currently configured value for the given
* {@link PropertyDescriptor}
*/
protected final PropertyValue getProperty(final PropertyDescriptor descriptor) {
return configContext.getProperty(descriptor);
}
/**
* @return an unmodifiable map of all configured properties for this
* {@link ControllerService}
*/
protected final Map<PropertyDescriptor, String> getProperties() {
return configContext.getProperties();
}
/**
* @return the {@link ControllerServiceLookup} that was passed to the
* {@link #init(ProcessorInitializationContext)} method