public synchronized void prepare ( String configureFileName , AppContextWrapper context ) { ContainerRegistryBuilder cb ; try { cb = ( ContainerRegistryBuilder ) context . getAttribute ( ContainerRegistryBuilder . APPLICATION_CONTEXT_ATTRIBUTE_NAME ) ; if ( cb == null ) { initialized ( context ) ; cb = ( ContainerRegistryBuilder ) context . getAttribute ( ContainerRegistryBuilder . APPLICATION_CONTEXT_ATTRIBUTE_NAME ) ; } ContainerDirector cd = new ContainerDirector ( cb ) ; cd . prepareAppRoot ( configureFileName ) ; } catch ( Exception ex ) { Debug . logError ( ex , module ) ; } }
prepare to the applicaition xml Configure for container ;