Changeset 320
- Timestamp:
- 03/02/07 13:26:35 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/config/xml/interceptors.xml
r229 r320 3 3 xmlns:xj="http://xjconf.net/XJConf" 4 4 xmlns="http://stubbles.net/ipo/interceptors"> 5 <preInterceptors /> 5 <preInterceptors> 6 <preInterceptor type="net.stubbles.util.stubRegistryInitializer" /> 7 </preInterceptors> 6 8 <postInterceptors /> 7 9 </xj:configuration> trunk/src/main/php/net/stubbles/util/stubRegistryInitializer.php
r312 r320 7 7 * @subpackage util 8 8 */ 9 stubClassLoader::load('net.stubbles.util.xjconf.xjconf'); 9 stubClassLoader::load('net.stubbles.stubFactory', 10 'net.stubbles.ipo.interceptors.stubPreInterceptor', 11 'net.stubbles.util.xjconf.xjconf' 12 ); 10 13 /** 11 14 * Class for initializing the Registry. 12 15 * 13 * @static14 16 * @package stubbles 15 17 * @subpackage util 16 18 */ 17 class stubRegistry Factory19 class stubRegistryInitializer extends stubBaseObject implements stubPreInterceptor 18 20 { 19 21 /** … … 29 31 $xjconf->parse($configFile); 30 32 } 33 34 /** 35 * does the preprocessing stuff 36 */ 37 public function preProcess() 38 { 39 self::init(stubConfig::getConfigPath() . '/xml/config.xml'); 40 } 31 41 } 32 42 ?>
