root/trunk/src/main/php/net/stubbles/websites/processors/stubProcessorResolver.php

Revision 1632, 1.2 kB (checked in by mikey, 2 weeks ago)

make multi-project structure default

Line 
1 <?php
2 /**
3  * Interface for processor resolvers.
4  *
5  * @author      Frank Kleine <mikey@stubbles.net>
6  * @package     stubbles
7  * @subpackage  websites_processors
8  */
9 stubClassLoader::load('net::stubbles::ipo::request::stubRequest',
10                       'net::stubbles::ipo::response::stubResponse',
11                       'net::stubbles::ipo::session::stubSession',
12                       'net::stubbles::websites::processors::stubProcessor'
13 );
14 /**
15  * Interface for processor resolvers.
16  *
17  * @package     stubbles
18  * @subpackage  websites_processors
19  */
20 interface stubProcessorResolver extends stubSerializable
21 {
22     /**
23      * resolves the request and creates the appropriate processor
24      *
25      * @param   stubRequest    $request   the current request
26      * @param   stubSession    $session   the current session
27      * @param   stubResponse   $response  the current response
28      * @return  stubProcessor
29      */
30     public function resolve(stubRequest $request, stubSession $session, stubResponse $response);
31
32     /**
33      * method to handle page based processors
34      *
35      * @param   stubProcessor  $processor
36      * @throws  stubConfigurationException
37      * @throws  stubRuntimeException
38      */
39     public function selectPage(stubProcessor $processor);
40 }
41 ?>
Note: See TracBrowser for help on using the browser.