01: package org.vraptor.url;
02:
03: import javax.servlet.http.HttpServletRequest;
04:
05: import org.vraptor.component.ComponentNotFoundException;
06: import org.vraptor.component.LogicMethod;
07: import org.vraptor.component.LogicNotFoundException;
08:
09: /**
10: * Locates the logic method for this request.
11: *
12: * @author Guilherme Silveira
13: */
14: public interface LogicLocator {
15:
16: /**
17: * Returns the selected logic method for this request.
18: * @throws LogicNotFoundException
19: * @throws ComponentNotFoundException
20: */
21: LogicMethod locate(HttpServletRequest req)
22: throws InvalidURLException, LogicNotFoundException,
23: ComponentNotFoundException;
24:
25: }
|