Package org.apache.openejb.cdi

Examples of org.apache.openejb.cdi.StartupObject


            //from OWB's WebBeansConfigurationListener

            try {
                if (startup == null) {
                    //this should only be used for servlet tests
                    StartupObject startupObject = new StartupObject(new AppContext("none", SystemInstance.get(), Thread.currentThread().getContextClassLoader(), null, null, true), new AppInfo(), Collections.<BeanContext>emptyList());
                    lifecycle.startApplication(startupObject);
//                        lifecycle.startServletContext((ServletContext)startup);
                } else if (startup instanceof StartupObject) {
                    lifecycle.startApplication(startup);
//                        ((StartupObject)startup).getAppContext().setWebBeansContext(webBeansContext);
View Full Code Here


        WebBeansContext oldContext = GeronimoSingletonService.contextEntered(webBeansContext);
        //from OWB's WebBeansConfigurationListener
        try {
            if (startup == null) {
                //this should only be used for servlet tests
                StartupObject startupObject = new StartupObject(new AppContext("none", SystemInstance.get(), Thread.currentThread().getContextClassLoader(), null, null, true), new AppInfo(),
                        Collections.<BeanContext> emptyList());
                lifecycle.startApplication(startupObject);
                //lifecycle.startServletContext((ServletContext)startup);
            } else if (startup instanceof StartupObject) {
                lifecycle.startApplication(startup);
View Full Code Here

TOP

Related Classes of org.apache.openejb.cdi.StartupObject

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.