//lock for application startup and shutdown
synchronized( entry )
{
final String name = entry.getMetaData().getName();
Application application = entry.getApplication();
if( null == application )
{
try
{
final Application newApp = new DefaultApplication();
final Logger childLogger =
getLogger().getChildLogger( name );
ContainerUtil.enableLogging( newApp, childLogger );
final ApplicationContext context =
createApplicationContext( entry );
newApp.setApplicationContext( context );
ContainerUtil.initialize( newApp );
application = newApp;
}