Show
Ignore:
Timestamp:
04/13/08 21:48:05 (7 months ago)
Author:
mikey
Message:

implemented enhancement #141: abstract processor should provide template construction method

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/service/jsonrpc/stubJsonRpcProcessor.php

    r1534 r1544  
    3333 
    3434    /** 
    35      * constructor 
    36      * 
    37      * @param  stubRequest   $request   the current request 
    38      * @param  stubSession   $session   the current session 
    39      * @param  stubResponse  $response  the current response 
     35     * optional template method to do some constructor work in derived classes 
    4036     */ 
    41     public function __construct(stubRequest $request, stubSession $session, stubResponse $response
     37    protected function doConstruct(
    4238    { 
    43         parent::__construct($request, $session, $response); 
    4439        $this->configFile = stubConfig::getConfigPath() . DIRECTORY_SEPARATOR . stubRegistry::getConfig(self::KEY_SERVICE_FILE, 'json-rpc-service.ini'); 
    4540    }