public void initialized ( AppContextWrapper context ) { ContainerRegistryBuilder cb = ( ContainerRegistryBuilder ) context . getAttribute ( ContainerRegistryBuilder . APPLICATION_CONTEXT_ATTRIBUTE_NAME ) ; if ( cb != null ) return ; try { synchronized ( context ) { cb = containerBuilderContext . createContainerBuilder ( context ) ; context . setAttribute ( ContainerRegistryBuilder . APPLICATION_CONTEXT_ATTRIBUTE_NAME , cb ) ; Debug . logVerbose ( "[JdonFramework] Initialize the container OK .." ) ; } } catch ( Exception e ) { Debug . logError ( "[JdonFramework] initialized error: " + e , module ) ; } }
Initialize application container