Package org.codehaus.loom.interfaces

Examples of org.codehaus.loom.interfaces.Application


        //lock for application startup and shutdown
        synchronized( entry )
        {
            final String name = entry.getProfile().getMetaData().getName();

            Application application = entry.getApplication();
            if( null == application )
            {
                try
                {
                    final Application newApp = new DefaultApplication();
                    final Logger childLogger =
                        getLogger().getChildLogger( name );
                    org.codehaus.dna.impl.ContainerUtil.enableLogging(
                        newApp, childLogger );

                    final ApplicationContext context =
                        createApplicationContext( entry );
                    newApp.setApplicationContext( context );

                    org.codehaus.dna.impl.ContainerUtil.initialize( newApp );

                    application = newApp;
                }
View Full Code Here


        throws Exception
    {
        //lock for application startup and shutdown
        synchronized( entry )
        {
            final Application application = entry.getApplication();
            if( null != application )
            {
                entry.setApplication( null );
                ContainerUtil.stop( application );
                org.codehaus.dna.impl.ContainerUtil.dispose( application );
View Full Code Here

TOP

Related Classes of org.codehaus.loom.interfaces.Application

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.