Changeset 1222

Show
Ignore:
Timestamp:
01/11/08 16:51:50 (7 months ago)
Author:
mikey
Message:

continued refactoring #119: replaced package dots in net::stubbles::ioc

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/experiments/people/schst/ioc/constants.php

    r852 r1222  
    3232} 
    3333 
    34 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     34stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    3535 
    3636$binder = new stubBinder(); 
  • trunk/experiments/people/schst/ioc/implemented-by.php

    r852 r1222  
    3838 
    3939 
    40 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     40stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    4141 
    4242$injector = new stubInjector(); 
  • trunk/experiments/people/schst/ioc/instance.php

    r852 r1222  
    5050} 
    5151 
    52 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     52stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    5353 
    5454$injector = new stubInjector(); 
  • trunk/experiments/people/schst/ioc/naming.php

    r852 r1222  
    6565} 
    6666 
    67 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     67stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    6868 
    6969$injector = new stubInjector(); 
  • trunk/experiments/people/schst/ioc/provider.php

    r863 r1222  
    1616} 
    1717 
    18 stubClassLoader::load('net.stubbles.ioc.ioc'); 
     18stubClassLoader::load('net::stubbles::ioc::ioc'); 
    1919 
    2020 
  • trunk/experiments/people/schst/ioc/simple.php

    r864 r1222  
    100100} 
    101101 
    102 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     102stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    103103 
    104104$binder = new stubBinder(); 
  • trunk/experiments/people/schst/ioc/singleton-annotation.php

    r852 r1222  
    8282} 
    8383 
    84 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     84stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    8585 
    8686$injector = new stubInjector(); 
  • trunk/experiments/people/schst/ioc/singleton.php

    r852 r1222  
    7777} 
    7878 
    79 stubClassLoader::load('net.stubbles.ioc.stubBinder', 
    80                       'net.stubbles.ioc.stubBindingScopes'); 
     79stubClassLoader::load('net::stubbles::ioc::stubBinder', 
     80                      'net::stubbles::ioc::stubBindingScopes'); 
    8181 
    8282$injector = new stubInjector(); 
  • trunk/src/main/php/net/stubbles/ioc/annotations/stubImplementedByAnnotation.php

    r1197 r1222  
    77 * @subpackage  ioc_annotations 
    88 */ 
    9 stubClassLoader::load('net.stubbles.reflection.annotations.stubAbstractAnnotation', 
    10                       'net.stubbles.reflection.stubReflectionClass' 
     9stubClassLoader::load('net::stubbles::reflection::annotations::stubAbstractAnnotation', 
     10                      'net::stubbles::reflection::stubReflectionClass' 
    1111); 
    1212/** 
  • trunk/src/main/php/net/stubbles/ioc/annotations/stubInjectAnnotation.php

    r1127 r1222  
    77 * @subpackage  ioc_annotations 
    88 */ 
    9 stubClassLoader::load('net.stubbles.reflection.annotations.stubAbstractAnnotation'); 
     9stubClassLoader::load('net::stubbles::reflection::annotations::stubAbstractAnnotation'); 
    1010/** 
    1111 * Annotation to mark a method that is used for dependency injection 
  • trunk/src/main/php/net/stubbles/ioc/annotations/stubNamedAnnotation.php

    r1127 r1222  
    77 * @subpackage  ioc_annotations 
    88 */ 
    9 stubClassLoader::load('net.stubbles.reflection.annotations.stubAbstractAnnotation'); 
     9stubClassLoader::load('net::stubbles::reflection::annotations::stubAbstractAnnotation'); 
    1010/** 
    1111 * Annotation to name an injection 
  • trunk/src/main/php/net/stubbles/ioc/annotations/stubSingletonAnnotation.php

    r1127 r1222  
    88 */ 
    99 
    10 stubClassLoader::load('net.stubbles.reflection.annotations.stubAbstractAnnotation'); 
     10stubClassLoader::load('net::stubbles::reflection::annotations::stubAbstractAnnotation'); 
    1111 
    1212/** 
  • trunk/src/main/php/net/stubbles/ioc/exceptions/stubBindingException.php

    r1127 r1222  
    88 */ 
    99 
    10 stubClassLoader::load('net.stubbles.ioc.exceptions.stubInjectionException'); 
     10stubClassLoader::load('net::stubbles::ioc::exceptions::stubInjectionException'); 
    1111 
    1212/** 
  • trunk/src/main/php/net/stubbles/ioc/ioc.php

    r1009 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1010?> 
  • trunk/src/main/php/net/stubbles/ioc/stubAbstractIOCPreInterceptor.php

    r1006 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ipo.interceptors.stubPreInterceptor', 
    10                       'net.stubbles.ioc.stubBinder', 
    11                       'net.stubbles.util.stubRegistry' 
     9stubClassLoader::load('net::stubbles::ipo::interceptors::stubPreInterceptor', 
     10                      'net::stubbles::ioc::stubBinder', 
     11                      'net::stubbles::util::stubRegistry' 
    1212); 
    1313/** 
  • trunk/src/main/php/net/stubbles/ioc/stubBinder.php

    r1127 r1222  
    1010 * @subpackage  ioc 
    1111 */ 
    12 stubClassLoader::load('net.stubbles.reflection.stubReflectionClass', 
    13                       'net.stubbles.ioc.stubBinding', 
    14                       'net.stubbles.ioc.stubClassBinding', 
    15                       'net.stubbles.ioc.stubConstantBinding', 
    16                       'net.stubbles.ioc.stubInjector', 
    17                       'net.stubbles.ioc.stubBindingScope', 
    18                       'net.stubbles.ioc.stubBindingScopes', 
    19                       'net.stubbles.ioc.annotations.stubInjectAnnotation', 
    20                       'net.stubbles.ioc.annotations.stubSingletonAnnotation', 
    21                       'net.stubbles.ioc.annotations.stubNamedAnnotation', 
    22                       'net.stubbles.ioc.annotations.stubImplementedByAnnotation'); 
     12stubClassLoader::load('net::stubbles::reflection::stubReflectionClass', 
     13                      'net::stubbles::ioc::stubBinding', 
     14                      'net::stubbles::ioc::stubClassBinding', 
     15                      'net::stubbles::ioc::stubConstantBinding', 
     16                      'net::stubbles::ioc::stubInjector', 
     17                      'net::stubbles::ioc::stubBindingScope', 
     18                      'net::stubbles::ioc::stubBindingScopes', 
     19                      'net::stubbles::ioc::annotations::stubInjectAnnotation', 
     20                      'net::stubbles::ioc::annotations::stubSingletonAnnotation', 
     21                      'net::stubbles::ioc::annotations::stubNamedAnnotation', 
     22                      'net::stubbles::ioc::annotations::stubImplementedByAnnotation'); 
    2323/** 
    2424 * Binder for the IoC functionality. 
  • trunk/src/main/php/net/stubbles/ioc/stubBinding.php

    r1176 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.exceptions.stubBindingException'); 
     9stubClassLoader::load('net::stubbles::ioc::exceptions::stubBindingException'); 
    1010/** 
    1111 * Binding to bind an interface to an implementation 
  • trunk/src/main/php/net/stubbles/ioc/stubBindingModule.php

    r1127 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1010/** 
    1111 * Interface for modules that bootstrap all bindings 
  • trunk/src/main/php/net/stubbles/ioc/stubBindingScope.php

    r1177 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubInjectionProvider', 
    10                       'net.stubbles.reflection.stubBaseReflectionClass' 
     9stubClassLoader::load('net::stubbles::ioc::stubInjectionProvider', 
     10                      'net::stubbles::reflection::stubBaseReflectionClass' 
    1111); 
    1212/** 
  • trunk/src/main/php/net/stubbles/ioc/stubBindingScopeSingleton.php

    r1177 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubBindingScope', 
    10                       'net.stubbles.reflection.stubBaseReflectionClass' 
     9stubClassLoader::load('net::stubbles::ioc::stubBindingScope', 
     10                      'net::stubbles::reflection::stubBaseReflectionClass' 
    1111); 
    1212/** 
  • trunk/src/main/php/net/stubbles/ioc/stubBindingScopes.php

    r1127 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubBindingScopeSingleton'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBindingScopeSingleton'); 
    1010/** 
    1111 * All built-in scopes 
  • trunk/src/main/php/net/stubbles/ioc/stubClassBinding.php

    r1179 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.exceptions.stubBindingException', 
    10                       'net.stubbles.ioc.stubDefaultInjectionProvider', 
    11                       'net.stubbles.reflection.stubReflectionClass' 
     9stubClassLoader::load('net::stubbles::ioc::exceptions::stubBindingException', 
     10                      'net::stubbles::ioc::stubDefaultInjectionProvider', 
     11                      'net::stubbles::reflection::stubReflectionClass' 
    1212); 
    1313/** 
  • trunk/src/main/php/net/stubbles/ioc/stubConstantBinding.php

    r1176 r1222  
    77 * @subpackage  ioc 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.exceptions.stubBinding'); 
     9stubClassLoader::load('net::stubbles::ioc::exceptions::stubBinding'); 
    1010/** 
    1111 * Binding to bind a property to a constant value. 
  • trunk/src/main/php/net/stubbles/ioc/stubDefaultInjectionProvider.php

    r1177 r1222  
    88 * @subpackage  ioc 
    99 */ 
    10 stubClassLoader::load('net.stubbles.ioc.stubInjectionProvider', 
    11                       'net.stubbles.ioc.stubInjector', 
    12                       'net.stubbles.reflection.stubBaseReflectionClass' 
     10stubClassLoader::load('net::stubbles::ioc::stubInjectionProvider', 
     11                      'net::stubbles::ioc::stubInjector', 
     12                      'net::stubbles::reflection::stubBaseReflectionClass' 
    1313); 
    1414/** 
  • trunk/src/main/php/net/stubbles/ioc/stubIOCPreInterceptor.php

    r1006 r1222  
    88 * @subpackage  ioc 
    99 */ 
    10 stubClassLoader::load('net.stubbles.ipo.interceptors.stubPreInterceptor', 
    11                       'net.stubbles.ioc.stubBinder', 
    12                       'net.stubbles.util.stubRegistry' 
     10stubClassLoader::load('net::stubbles::ipo::interceptors.stubPreInterceptor', 
     11                      'net::stubbles::ioc::stubBinder', 
     12                      'net::stubbles::util::stubRegistry' 
    1313); 
    1414/** 
     
    3434            stubRegistry::set(stubBinder::REGISTRY_KEY, $binder); 
    3535        } 
     36         
    3637        $binder->bind('stubRequest')->toInstance($request); 
    3738        $binder->bind('stubSession')->toInstance($session); 
  • trunk/src/main/php/net/stubbles/ioc/stubInjectionProvider.php

    r1177 r1222  
    88 * @subpackage  ioc 
    99 */ 
    10 stubClassLoader::load('net.stubbles.reflection.stubBaseReflectionClass'); 
     10stubClassLoader::load('net::stubbles::reflection::stubBaseReflectionClass'); 
    1111/** 
    1212 * Interface for providers that create objects that are required by the 
  • trunk/src/main/php/net/stubbles/ioc/stubInjector.php

    r1181 r1222  
    88 * @subpackage  ioc 
    99 */ 
    10 stubClassLoader::load('net.stubbles.ioc.exceptions.stubBindingException', 
    11                       'net.stubbles.reflection.stubReflectionClass' 
     10stubClassLoader::load('net::stubbles::ioc::exceptions::stubBindingException', 
     11                      'net::stubbles::reflection::stubReflectionClass' 
    1212); 
    1313/** 
  • trunk/src/test/php/net/stubbles/ioc/annotations/stubImplementedByAnnotationTestCase.php

    r1025 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.annotations.stubImplementedByAnnotation 
     3 * Test for net::stubbles::ioc::annotations::stubImplementedByAnnotation. 
    44 * 
    55 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    77 * @subpackage  ioc_injection_test 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.annotations.stubImplementedByAnnotation', 
    10                       'net.stubbles.reflection.stubReflectionClass' 
     9stubClassLoader::load('net::stubbles::ioc::annotations::stubImplementedByAnnotation', 
     10                      'net::stubbles::reflection::stubReflectionClass' 
    1111); 
    1212 
     
    1515 
    1616/** 
    17  * Test for net.stubbles.ioc.annotations.stubImplementedByAnnotation 
     17 * Test for net::stubbles::ioc::annotations::stubImplementedByAnnotation. 
    1818 * 
    1919 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/annotations/stubInjectAnnotationTestCase.php

    r854 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.annotations.stubInjectAnnotation 
     3 * Test for net::stubbles::ioc::annotations::stubInjectAnnotation. 
    44 * 
    55 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    77 * @subpackage  ioc_injection_test 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.annotations.stubInjectAnnotation'); 
     9stubClassLoader::load('net::stubbles::ioc::annotations::stubInjectAnnotation'); 
    1010 
    1111/** 
    12  * Test for net.stubbles.ioc.annotations.stubInjectAnnotation 
     12 * Test for net::stubbles::ioc::annotations::stubInjectAnnotation. 
    1313 * 
    1414 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/annotations/stubNamedAnnotationTestCase.php

    r854 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.annotations.stubNamedAnnotation 
     3 * Test for net::stubbles::ioc::annotations::stubNamedAnnotation. 
    44 * 
    55 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    77 * @subpackage  ioc_injection_test 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.annotations.stubNamedAnnotation'); 
     9stubClassLoader::load('net::stubbles::ioc.::annotations::stubNamedAnnotation'); 
    1010 
    1111/** 
    12  * Test for net.stubbles.ioc.annotations.stubNamedAnnotation 
     12 * Test for net::stubbles::ioc::annotations::stubNamedAnnotation. 
    1313 * 
    1414 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/annotations/stubSingletonAnnotationTestCase.php

    r854 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.annotations.stubSingletonAnnotation 
     3 * Test for net::stubbles::ioc::annotations::stubSingletonAnnotation. 
    44 * 
    55 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    77 * @subpackage  ioc_injection_test 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.annotations.stubSingletonAnnotation'); 
     9stubClassLoader::load('net::stubbles::ioc::annotations::stubSingletonAnnotation'); 
    1010 
    1111/** 
    12  * Test for net.stubbles.ioc.annotations.stubNamedAnnotation 
     12 * Test for net::stubbles::ioc::annotations::stubNamedAnnotation. 
    1313 * 
    1414 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/stubBinderTestCase.php

    r854 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.stubBinder 
     3 * Test for net.::stubbles::ioc::stubBinder 
    44 * 
    55 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    77 * @subpackage  ioc_injection_test 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1010 
    1111/** 
    12  * Test for net.stubbles.ioc.stubBinder 
     12 * Test for net::stubbles::ioc::stubBinder 
    1313 * 
    1414 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/stubIOCPreInterceptorTestCase.php

    r867 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.stubIOCPreInterceptor. 
     3 * Test for net::stubbles::ioc::stubIOCPreInterceptor. 
    44 * 
    55 * @author      Frank Kleine <mikey@stubbles.net> 
     
    77 * @subpackage  ioc_test 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubIOCPreInterceptor'); 
     9stubClassLoader::load('net::stubbles::ioc::stubIOCPreInterceptor'); 
    1010Mock::generate('stubRequest'); 
    1111Mock::generate('stubSession'); 
    1212Mock::generate('stubResponse'); 
    1313/** 
    14  * Test for net.stubbles.ioc.stubIOCPreInterceptor. 
     14 * Test for net::stubbles::ioc::stubIOCPreInterceptor. 
    1515 * 
    1616 * @package     stubbles 
     
    5353        $this->mockSession       = new MockstubSession(); 
    5454        $this->mockResponse      = new MockstubResponse(); 
    55         stubRegistry::remove('net.stubbles.ioc.stubBinder'); 
     55        stubRegistry::remove(stubBinder::REGISTRY_KEY); 
    5656    } 
    5757 
     
    6161    public function tearDown() 
    6262    { 
    63         stubRegistry::remove('net.stubbles.ioc.stubBinder'); 
     63        stubRegistry::remove(stubBinder::REGISTRY_KEY); 
    6464    } 
    6565 
     
    7070    { 
    7171        $this->iocPreInterceptor->preProcess($this->mockRequest, $this->mockSession, $this->mockResponse); 
    72         $binder = stubRegistry::get('net.stubbles.ioc.stubBinder'); 
     72        $binder = stubRegistry::get(stubBinder::REGISTRY_KEY); 
    7373        $this->assertIsA($binder, 'stubBinder'); 
    7474        $injector = $binder->getInjector(); 
  • trunk/src/test/php/net/stubbles/ioc/stubInjectorBasicTestCase.php

    r1181 r1222  
    88 * @subpackage  ioc_test 
    99 */ 
    10 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     10stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1111/** 
    1212 * Helper interface for injection and binding tests. 
  • trunk/src/test/php/net/stubbles/ioc/stubInjectorConstantTestCase.php

    r854 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.stubInjector with 
    4  * constant binding 
     3 * Test for net::stubbles::ioc::stubInjector with constant binding. 
    54 * 
    65 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    87 * @subpackage  ioc_injection_test 
    98 */ 
    10 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1110 
    1211class stubInjectorConstantTestCase_Question { 
     
    2726 
    2827/** 
    29  * Test for net.stubbles.ioc.stubInjector with @Named 
     28 * Test for net::stubbles::ioc::stubInjector with constant binding. 
    3029 * 
    3130 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/stubInjectorImplementedByTestCase.php

    r854 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.stubInjector with the 
    4  * ImplementedBy annotation 
     3 * Test for net::stubbles::ioc::stubInjector with the ImplementedBy annotation. 
    54 * 
    65 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    87 * @subpackage  ioc_injection_test 
    98 */ 
    10 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1110 
    1211/** 
     
    3231 
    3332/** 
    34  * Test for net.stubbles.ioc.stubInjector with the 
    35  * ImplementedBy annotation 
     33 * Test for net.::stubbles::ioc::stubInjector with the ImplementedBy annotation. 
    3634 * 
    3735 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/stubInjectorNamedTestCase.php

    r854 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.stubInjector with @Named 
     3 * Test for net::stubbles::ioc::stubInjector with @Named annotation. 
    44 * 
    55 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    77 * @subpackage  ioc_injection_test 
    88 */ 
    9 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1010 
    1111 
     
    5353 
    5454/** 
    55  * Test for net.stubbles.ioc.stubInjector with @Named 
     55 * Test for net::stubbles::ioc::stubInjector with @Named annotation. 
    5656 * 
    5757 * @package     stubbles 
  • trunk/src/test/php/net/stubbles/ioc/stubInjectorSingletonTestCase.php

    r855 r1222  
    11<?php 
    22/** 
    3  * Test for net.stubbles.ioc.stubInjector with the 
    4  * singleton scope 
     3 * Test for net::stubbles::ioc::stubInjector with the singleton scope. 
    54 * 
    65 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    87 * @subpackage  ioc_injection_test 
    98 */ 
    10 stubClassLoader::load('net.stubbles.ioc.stubBinder'); 
     9stubClassLoader::load('net::stubbles::ioc::stubBinder'); 
    1110 
    1211interface stubInjectorSingletonTestCase_Number { 
     
    7574 
    7675/** 
    77  * Test for net.stubbles.ioc.stubInjector with the 
    78  * singleton scope 
     76 * Test for net::stubbles::ioc::stubInjector with the singleton scope. 
    7977 * 
    8078 * @package     stubbles