Package org.jboss.osgi.deployment.interceptor

Examples of org.jboss.osgi.deployment.interceptor.LifecycleInterceptorException


            switch (state) {
                case Bundle.ACTIVE:
                    try {
                        injectBundleContext(activator.getContext(), bundle.getBundleContext());
                        if (!activator.start(4, TimeUnit.SECONDS)) {
                            throw new LifecycleInterceptorException(MESSAGES.startContextFailed());
                        }
                    } catch (TimeoutException ex) {
                        throw new LifecycleInterceptorException(ex.getMessage(), ex);
                    }
                    break;
                case Bundle.RESOLVED:
                    activator.stop(4, TimeUnit.SECONDS);
                    uninjectBundleContext(activator.getContext());
View Full Code Here

TOP

Related Classes of org.jboss.osgi.deployment.interceptor.LifecycleInterceptorException

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.