Package org.apache.cxf.buslifecycle

Examples of org.apache.cxf.buslifecycle.BusLifeCycleManager.postShutdown()


        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }

        if (BusFactory.getDefaultBus(false) == this) {
            BusFactory.setDefaultBus(null);
        }
View Full Code Here


        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }

        if (BusFactory.getDefaultBus(false) == this) {
            BusFactory.setDefaultBus(null);
        }
View Full Code Here

                lcm.initComplete();
            } else if (event instanceof ContextClosedEvent && ctx.isActive()) {
                // To avoid the ctx to be closed twice
                BusLifeCycleManager lcm = (BusLifeCycleManager)ctx
                    .getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager", BusLifeCycleManager.class);
                lcm.postShutdown();

            }
        }
    }
View Full Code Here

        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }

        if (BusFactory.getDefaultBus(false) == this) {
            BusFactory.setDefaultBus(null);
        }
View Full Code Here

                lcm.initComplete();
            } else if (event instanceof ContextClosedEvent) {
                BusLifeCycleManager lcm = (BusLifeCycleManager)
                    ctx.getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager",
                        BusLifeCycleManager.class);
                lcm.postShutdown();
            }
        }
    }

    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
View Full Code Here

        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }
        if (BusFactory.getDefaultBus(false) == this) {
            BusFactory.setDefaultBus(null);
        }
    }
View Full Code Here

            lcm.initComplete();
        } else if (event instanceof ContextClosedEvent) {
            BusLifeCycleManager lcm = (BusLifeCycleManager)
                ctx.getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager",
                    BusLifeCycleManager.class);
            lcm.postShutdown();
        }
    }

    public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
        if (applicationContext instanceof AbstractApplicationContext) {
View Full Code Here

        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }

        if (BusFactory.getDefaultBus(false) == this) {
            BusFactory.setDefaultBus(null);
        }
View Full Code Here

        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }
        if (BusFactory.getDefaultBus(false) == this) {
            BusFactory.setDefaultBus(null);
        }
    }
View Full Code Here

        synchronized (this) {
            state = BusState.SHUTDOWN;
            notifyAll();
        }
        if (null != lifeCycleManager) {
            lifeCycleManager.postShutdown();
        }

        if (BusFactory.getDefaultBus(false) == this) {
            BusFactory.setDefaultBus(null);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.