Examples of EventProcessor


Examples of org.apache.cxf.event.EventProcessor

    }

    public synchronized AutomaticWorkQueue getAutomaticWorkQueue() {
        if (autoQueue == null) {
            autoQueue = createAutomaticWorkQueue();
            EventProcessor ep = bus.getExtension(EventProcessor.class);
            //setup the QName
            QName eventID = new QName(ComponentEventFilter.COMPONENT_CREATED_EVENT);
            if (null != ep) {               
                ep.sendEvent(new Event(this, eventID));
            }
        }
        return autoQueue;
    }
View Full Code Here

Examples of org.apache.cxf.event.EventProcessor

        if (autoQueue != null) {
            autoQueue.shutdown(processRemainingTasks);
        }

        //sent out remove event.
        EventProcessor ep = bus.getExtension(EventProcessor.class);
        QName eventID = new QName(ComponentEventFilter.COMPONENT_REMOVED_EVENT);
        if (null != ep) {
            ep.sendEvent(new Event(this, eventID));       
        }
        synchronized (this) {
            notifyAll();
        }
    }
View Full Code Here

Examples of org.apache.cxf.event.EventProcessor

        if (getInstrumentation().isEnabled()) {
            LOG.fine("Instrumentation is enabled.");
            instrumentations = new LinkedList<Instrumentation>();
            //regist to the event process
            ComponentEventFilter componentEventFilter = new ComponentEventFilter();
            EventProcessor ep = bus.getExtension(EventProcessor.class);
            if (null != ep) {               
                ep.addEventListener((EventListener)this, componentEventFilter);
            }   
        }
           
        if (getInstrumentation().isJMXEnabled()) { 
            LOG.fine("JMX is enabled.");
View Full Code Here

Examples of org.apache.cxf.event.EventProcessor

    public void testConstructionWithExtensions() throws BusException {
       
        IMocksControl control;
        BindingFactoryManager bindingFactoryManager;
        WSDLManager wsdlManager;
        EventProcessor eventProcessor;
        InstrumentationManager instrumentationManager;
        PhaseManager phaseManager;
       
        control = EasyMock.createNiceControl();
       
View Full Code Here

Examples of org.zkoss.zk.ui.impl.EventProcessor

    final Thread thd = (Thread)Thread.currentThread();
    if (!(thd instanceof EventProcessingThread)) {
      if (!desktop.getWebApp().getConfiguration().isEventThreadEnabled()) {
        final ExecutionCtrl execCtrl = (ExecutionCtrl)exec;
        final Page page = execCtrl.getCurrentPage();
        final EventProcessor proc =
          new EventProcessor(desktop, comp, event);
        proc.setup();
        try {
          proc.process();
        } catch (Exception ex) {
          throw UiException.Aide.wrap(ex);
        } finally {
          execCtrl.setCurrentPage(page);
        }
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.