Skip to content
Snippets Groups Projects
Commit 1966d9c4 authored by Wes Felter's avatar Wes Felter
Browse files

Remove useless IStaticWebRoutableService; now the StaticWebRoutable

module provides no services.
parent 8735b7a0
No related branches found
No related tags found
No related merge requests found
package net.floodlightcontroller.ui.web;
import net.floodlightcontroller.core.module.IFloodlightService;
public interface IStaticWebRoutableService extends IFloodlightService {
}
...@@ -19,7 +19,7 @@ import net.floodlightcontroller.core.module.IFloodlightService; ...@@ -19,7 +19,7 @@ import net.floodlightcontroller.core.module.IFloodlightService;
import net.floodlightcontroller.restserver.IRestApiService; import net.floodlightcontroller.restserver.IRestApiService;
import net.floodlightcontroller.restserver.RestletRoutable; import net.floodlightcontroller.restserver.RestletRoutable;
public class StaticWebRoutable implements RestletRoutable, IFloodlightModule, IStaticWebRoutableService { public class StaticWebRoutable implements RestletRoutable, IFloodlightModule {
private IRestApiService restApi; private IRestApiService restApi;
...@@ -33,22 +33,13 @@ public class StaticWebRoutable implements RestletRoutable, IFloodlightModule, IS ...@@ -33,22 +33,13 @@ public class StaticWebRoutable implements RestletRoutable, IFloodlightModule, IS
@Override @Override
public Collection<Class<? extends IFloodlightService>> getModuleServices() { public Collection<Class<? extends IFloodlightService>> getModuleServices() {
Collection<Class<? extends IFloodlightService>> l = return null;
new ArrayList<Class<? extends IFloodlightService>>();
l.add(IStaticWebRoutableService.class);
return l;
} }
@Override @Override
public Map<Class<? extends IFloodlightService>, IFloodlightService> public Map<Class<? extends IFloodlightService>, IFloodlightService>
getServiceImpls() { getServiceImpls() {
Map<Class<? extends IFloodlightService>, return null;
IFloodlightService> m =
new HashMap<Class<? extends IFloodlightService>,
IFloodlightService>();
// We are the class that implements the service
m.put(IStaticWebRoutableService.class, this);
return m;
} }
@Override @Override
......
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