blob: 48e469bc689b9c3cf44c2dcdd0c80caa428796b2 [file] [log] [blame]
package net.floodlightcontroller.debugcounter.web;
import net.floodlightcontroller.debugcounter.IDebugCounterService;
import org.restlet.resource.ResourceException;
import org.restlet.resource.ServerResource;
public class DebugCounterResourceBase extends ServerResource {
protected IDebugCounterService debugCounter;
@Override
protected void doInit() throws ResourceException {
super.doInit();
debugCounter = (IDebugCounterService)getContext().getAttributes().
get(IDebugCounterService.class.getCanonicalName());
}
}