blob: 964deeb7467bf70d1b8e6e3578743ded26415558 [file] [log] [blame]
Brian O'Connorc67f9fa2014-08-07 18:17:46 -07001package net.floodlightcontroller.debugevent.web;
2
3
4import net.floodlightcontroller.debugevent.IDebugEventService;
5
6import org.restlet.resource.ResourceException;
7import org.restlet.resource.ServerResource;
8
9public class DebugEventResourceBase extends ServerResource{
10 protected IDebugEventService debugEvent;
11
12 @Override
13 protected void doInit() throws ResourceException {
14 super.doInit();
15 debugEvent = (IDebugEventService)getContext().getAttributes().
16 get(IDebugEventService.class.getCanonicalName());
17 }
18}