public void registerComponents ( ) throws Exception { Debug . logVerbose ( "[JdonFramework] note: registe all basic components in container.xml size=" + basicComponents . size ( ) , module ) ; try { Iterator iter = basicComponents . iterator ( ) ; while ( iter . hasNext ( ) ) { String name = ( String ) iter . next ( ) ; ComponentMetaDef componentMetaDef = basicComponents . getComponentMetaDef ( name ) ; xmlcontainerRegistry . registerComponentMetaDef ( componentMetaDef ) ; } } catch ( Exception ex ) { Debug . logError ( "[JdonFramework] register basiceComponents error:" + ex , module ) ; throw new Exception ( ex ) ; } }
register all basic components in container . xml