Skip to content
Snippets Groups Projects
Commit 1b0ff818 authored by Gregor Maier's avatar Gregor Maier
Browse files

Remove public setters for things that don't need to be set

parent 56015b37
No related branches found
No related tags found
No related merge requests found
......@@ -291,11 +291,11 @@ public class Forwarding extends ForwardingBase implements IFloodlightModule {
@Override
public void init(FloodlightModuleContext context) throws FloodlightModuleException {
this.setFloodlightProvider(context.getServiceImpl(IFloodlightProviderService.class));
this.setDeviceManager(context.getServiceImpl(IDeviceService.class));
this.setRoutingEngine(context.getServiceImpl(IRoutingService.class));
this.setTopology(context.getServiceImpl(ITopologyService.class));
this.setCounterStore(context.getServiceImpl(ICounterStoreService.class));
this.floodlightProvider = context.getServiceImpl(IFloodlightProviderService.class);
this.deviceManager = context.getServiceImpl(IDeviceService.class);
this.routingEngine = context.getServiceImpl(IRoutingService.class);
this.topology = context.getServiceImpl(ITopologyService.class);
this.counterStore = context.getServiceImpl(ICounterStoreService.class);
}
@Override
......
......@@ -488,40 +488,6 @@ public abstract class ForwardingBase implements
}
/**
* @param floodlightProvider the floodlightProvider to set
*/
public void setFloodlightProvider(IFloodlightProviderService floodlightProvider) {
this.floodlightProvider = floodlightProvider;
}
/**
* @param routingEngine the routingEngine to set
*/
public void setRoutingEngine(IRoutingService routingEngine) {
this.routingEngine = routingEngine;
}
/**
* @param deviceManager
* the deviceManager to set
*/
public void setDeviceManager(IDeviceService deviceManager) {
this.deviceManager = deviceManager;
}
/**
* @param topology
* the topology to set
*/
public void setTopology(ITopologyService topology) {
this.topology = topology;
}
public void setCounterStore(ICounterStoreService counterStore) {
this.counterStore = counterStore;
}
@Override
public void deviceAdded(IDevice device) {
// NOOP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment