Package org.apache.cxf.buslifecycle

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


       
        doInitializeInternal();
       
        BusLifeCycleManager lifeCycleManager = this.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.initComplete();
        }   
        setState(BusState.RUNNING);
    }

    protected void doInitializeInternal() {
View Full Code Here


                                 
        setState(BusState.INITIAL);
       
        BusLifeCycleManager lifeCycleManager = this.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.initComplete();
        }

        DestinationFactoryManager dfm = this.getExtension(DestinationFactoryManager.class);
        if (null == dfm) {
            dfm = new DestinationFactoryManagerImpl(
View Full Code Here

                Bus bus = (Bus)ctx.getBean("cxf");
                ((CXFBusImpl)bus).initialize();
                BusLifeCycleManager lcm = (BusLifeCycleManager)
                    ctx.getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager",
                            BusLifeCycleManager.class);
                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

   
    protected void initializeBus(Bus bus) {
        super.initializeBus(bus);
        BusLifeCycleManager lifeCycleManager = bus.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.initComplete();
        }
    }
}
View Full Code Here

                Bus bus = (Bus)ctx.getBean("cxf");
                ((CXFBusImpl)bus).initialize();
                BusLifeCycleManager lcm = (BusLifeCycleManager)
                    ctx.getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager",
                            BusLifeCycleManager.class);
                lcm.initComplete();
            } else if (event instanceof ContextClosedEvent) {
                BusLifeCycleManager lcm = (BusLifeCycleManager)
                    ctx.getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager",
                        BusLifeCycleManager.class);
                lcm.postShutdown();
View Full Code Here

       
        setState(BusState.INITIAL);
       
        BusLifeCycleManager lifeCycleManager = this.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.initComplete();
           
        }

        DestinationFactoryManager dfm = this.getExtension(DestinationFactoryManager.class);
        if (null == dfm) {
View Full Code Here

    }

    protected void initializeBus(Bus bus) {
        BusLifeCycleManager lifeCycleManager = bus.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.initComplete();
        }
    }
   
    private static String getBusFactoryClass(ClassLoader classLoader) {
       
View Full Code Here

            Bus bus = (Bus)ctx.getBean("cxf");
            ((CXFBusImpl)bus).initialize();
            BusLifeCycleManager lcm = (BusLifeCycleManager)
                ctx.getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager",
                        BusLifeCycleManager.class);
            lcm.initComplete();
        } else if (event instanceof ContextClosedEvent) {
            BusLifeCycleManager lcm = (BusLifeCycleManager)
                ctx.getBean("org.apache.cxf.buslifecycle.BusLifeCycleManager",
                    BusLifeCycleManager.class);
            lcm.postShutdown();
View Full Code Here

        setState(BusState.INITIALIZING);
        doInitializeInternal();
       
        BusLifeCycleManager lifeCycleManager = this.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.initComplete();
        }   
        setState(BusState.RUNNING);
    }

    protected void doInitializeInternal() {
View Full Code Here

       
        doInitializeInternal();
       
        BusLifeCycleManager lifeCycleManager = this.getExtension(BusLifeCycleManager.class);
        if (null != lifeCycleManager) {
            lifeCycleManager.initComplete();
        }   
        setState(BusState.RUNNING);
    }

    protected void doInitializeInternal() {
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.