Changeset 386

Show
Ignore:
Timestamp:
03/15/07 19:32:20 (2 years ago)
Author:
mikey
Message:

renamed net.stubbles.stubFactory to net.stubbles.util.stubFactory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/ipo/request/stubXmlRequestValueErrorFactory.php

    r312 r386  
    99stubClassLoader::load('net.stubbles.ipo.request.stubRequestValueErrorFactory', 
    1010                      'net.stubbles.ipo.request.stubRequestValueErrorException', 
    11                       'net.stubbles.stubFactory', 
     11                      'net.stubbles.util.stubFactory', 
    1212                      'net.stubbles.util.xjconf.xjconf' 
    1313); 
  • trunk/src/main/php/net/stubbles/rdbms/stubDatabaseInitializer.php

    r319 r386  
    77 * @subpackage  rdbms 
    88 */ 
    9 stubClassLoader::load('net.stubbles.stubFactory', 
    10                       'net.stubbles.ipo.interceptors.stubPreInterceptor', 
     9stubClassLoader::load('net.stubbles.ipo.interceptors.stubPreInterceptor', 
     10                      'net.stubbles.util.stubFactory', 
    1111                      'net.stubbles.util.xjconf.xjconf' 
    1212); 
  • trunk/src/main/php/net/stubbles/util/log/stubLoggerXJConfFactory.php

    r312 r386  
    77 * @subpackage  util_log 
    88 */ 
    9 stubClassLoader::load('net.stubbles.util.xjconf.xjconf', 
    10                       'net.stubbles.stubFactory
     9stubClassLoader::load('net.stubbles.util.stubFactory', 
     10                      'net.stubbles.util.xjconf.xjconf
    1111); 
    1212/** 
  • trunk/src/main/php/net/stubbles/util/stubFactory.php

    r303 r386  
    11<?php 
    22/** 
    3  * class that holds informations used throughout a bunch of other classes 
     3 * Class that holds informations used throughout a bunch of other classes. 
    44 *  
    5  * @author   Frank Kleine  <mikey@stubbles.net> 
    6  * @package  stubbles 
     5 * @author      Frank Kleine  <mikey@stubbles.net> 
     6 * @package     stubbles 
     7 * @subpackage  util 
    78 */ 
    89/** 
    9  * class that holds informations used throughout a bunch of other classes 
     10 * Class that holds informations used throughout a bunch of other classes. 
    1011 *  
    1112 * @static 
    12  * @package  stubbles 
     13 * @package     stubbles 
     14 * @subpackage  util 
    1315 */ 
    1416class stubFactory 
     
    2224     
    2325    /** 
     26     * static initializing 
     27     */ 
     28    public static function __static() 
     29    { 
     30        if (substr(__FILE__, 0, 7) == 'star://') { 
     31            self::$resourceURI = str_replace('net.stubbles.util.stubFactory', '', __FILE__); 
     32        } else { 
     33            self::$resourceURI = realpath(dirname(__FILE__) . '/../../../../resources') . DIRECTORY_SEPARATOR; 
     34        } 
     35    } 
     36     
     37    /** 
    2438     * return the path to the resource files 
    2539     * 
    26      * @param  string  $fileName  the resource to load 
     40     * @param  string  $fileName  the resource to load 
    2741     */ 
    2842    public static function getResourceURI($fileName) 
    2943    { 
    30         if (null == self::$resourceURI) { 
    31             if (substr(__FILE__, 0, 7) == 'star://') { 
    32                 self::$resourceURI = str_replace('net.stubbles.stubFactory', '', __FILE__); 
    33             } else { 
    34                 self::$resourceURI = realpath(dirname(__FILE__) . '/../../../resources') . DIRECTORY_SEPARATOR; 
    35             } 
    36         } 
    37          
    3844        return (self::$resourceURI . $fileName); 
    3945    } 
  • trunk/src/main/php/net/stubbles/util/stubRegistryXJConfInitializer.php

    r384 r386  
    77 * @subpackage  util 
    88 */ 
    9 stubClassLoader::load('net.stubbles.util.stubRegistryInitializer', 
    10                       'net.stubbles.stubFactory', 
     9stubClassLoader::load('net.stubbles.util.stubFactory', 
     10                      'net.stubbles.util.stubRegistryInitializer', 
    1111                      'net.stubbles.util.xjconf.xjconf' 
    1212); 
  • trunk/src/main/php/net/stubbles/websites/stubFrontController.php

    r385 r386  
    77 * @subpackage  websites 
    88 */ 
    9 stubClassLoader::load('net.stubbles.stubFactory', 
    10                       'net.stubbles.ioc.injection.injection', 
     9stubClassLoader::load('net.stubbles.ioc.injection.injection', 
    1110                      'net.stubbles.ipo.interceptors.stubPostInterceptor', 
    1211                      'net.stubbles.ipo.interceptors.stubPreInterceptor', 
    1312                      'net.stubbles.ipo.request.stubRequest', 
     13                      'net.stubbles.ipo.response.stubBaseResponse', 
    1414                      'net.stubbles.ipo.session.stubSession', 
    15                       'net.stubbles.ipo.response.stubBaseResponse', 
    16                       'net.stubbles.websites.processors.stubProcessorResolver', 
     15                      'net.stubbles.util.stubFactory', 
    1716                      'net.stubbles.util.stubRegistry', 
    1817                      'net.stubbles.util.stubRegistryInitializer', 
    19                       'net.stubbles.util.xjconf.xjconf' 
     18                      'net.stubbles.util.xjconf.xjconf', 
     19                      'net.stubbles.websites.processors.stubProcessorResolver' 
    2020); 
    2121/** 
  • trunk/src/main/php/net/stubbles/websites/stubPageFactory.php

    r366 r386  
    77 * @subpackage  websites 
    88 */ 
    9 stubClassLoader::load('net.stubbles.stubFactory', 
     9stubClassLoader::load('net.stubbles.util.stubFactory', 
    1010                      'net.stubbles.util.xjconf.stubXJConfLoader', 
    1111                      'net.stubbles.websites.stubPage', 
  • trunk/src/main/php/net/stubbles/websites/stubXJConfPageFactory.php

    r335 r386  
    77 * @subpackage  websites 
    88 */ 
    9 stubClassLoader::load('net.stubbles.stubFactory', 
     9stubClassLoader::load('net.stubbles.util.stubFactory', 
    1010                      'net.stubbles.util.xjconf.xjconf', 
    1111                      'net.stubbles.websites.stubPageConfigurationException', 
    12                       'net.stubbles.websites.stubPageFactory', 
    13                       'net.stubbles.stubFactory' 
     12                      'net.stubbles.websites.stubPageFactory' 
    1413); 
    1514/** 
  • trunk/src/main/php/net/stubbles/websites/variantmanager/stubXJConfVariantFactory.php

    r382 r386  
    88 * @subpackage  websites_variantmanager 
    99 */ 
    10 stubClassLoader::load('net.stubbles.websites.variantmanager.stubAbstractVariantFactory', 
     10stubClassLoader::load('net.stubbles.util.stubFactory', 
    1111                      'net.stubbles.util.xjconf.xjconf', 
    12                       'net.stubbles.stubFactory' 
     12                      'net.stubbles.websites.variantmanager.stubAbstractVariantFactory' 
    1313); 
    1414/** 
  • trunk/src/main/php/net/stubbles/websites/xml/stubXMLPostInterceptor.php

    r342 r386  
    1010                      'net.stubbles.ipo.response.stubResponse', 
    1111                      'net.stubbles.ipo.session.stubSession', 
     12                      'net.stubbles.util.stubFactory', 
    1213                      'net.stubbles.util.stubRegistry', 
    1314                      'net.stubbles.xml.xsl.stubXSLProcessor', 
    1415                      'net.stubbles.xml.xsl.util.stubXSLImageDimensions', 
    1516                      'net.stubbles.xml.stubXMLXIncludeStreamWrapper', 
    16                       'net.stubbles.xml.stubXMLStreamWriterFactory', 
    17                       'net.stubbles.stubFactory' 
     17                      'net.stubbles.xml.stubXMLStreamWriterFactory' 
    1818); 
    1919/**