Examples of EventFactory


Examples of org.apache.camel.spi.EventFactory

        for (EventNotifier notifier : notifiers) {
            if (notifier.isIgnoreCamelContextEvents()) {
                continue;
            }

            EventFactory factory = context.getManagementStrategy().getEventFactory();
            if (factory == null) {
                return;
            }
            EventObject event = factory.createCamelContextStartingEvent(context);
            if (event == null) {
                return;
            }
            doNotifyEvent(notifier, event);
        }
View Full Code Here

Examples of org.apache.cocoon.caching.validity.EventFactory

        for (int i = 0; i < factories.length; i++) {
            Configuration child = factories[i];
            String name = child.getAttribute(FACTORY_NAME_CONF);
            String src = child.getAttribute(FACTORY_NAME_TYPE);
            try {
                EventFactory factory = (EventFactory) Class.forName(src).newInstance();
                m_types.put(name,factory);
            } catch (Exception e) {
                final String message =
                    "Unable to create EventFactory of type " + src;
                throw new ConfigurationException(message, e);
View Full Code Here

Examples of org.candlepin.audit.EventFactory

    @Before
    public void init() throws Exception {
        principalProvider = mock(PrincipalProvider.class);
        Principal principal = mock(Principal.class);
        when(principalProvider.get()).thenReturn(principal);
        eventFactory = new EventFactory(principalProvider);
    }
View Full Code Here

Examples of org.ofbiz.webapp.event.EventFactory

        // init the ControllerConfig, but don't save it anywhere
        this.controllerConfigURL = ConfigXMLReader.getControllerConfigURL(context);
        ConfigXMLReader.getControllerConfig(this.controllerConfigURL);
        this.viewFactory = new ViewFactory(this);
        this.eventFactory = new EventFactory(this);
    }
View Full Code Here

Examples of org.ofbiz.webapp.event.EventFactory

        // init the ControllerConfig, but don't save it anywhere
        this.controllerConfigURL = ConfigXMLReader.getControllerConfigURL(context);
        ConfigXMLReader.getControllerConfig(this.controllerConfigURL);
        this.viewFactory = new ViewFactory(this);
        this.eventFactory = new EventFactory(this);
    }
View Full Code Here

Examples of org.uiautomation.ios.wkrdp.events.EventFactory

    }

    if (message instanceof ApplicationDataMessage) {
      ApplicationDataMessage m = (ApplicationDataMessage) message;
      EventFactory EventFactory = new EventFactory();
      Event e = EventFactory.createEvent(m.getMessage());
      if ((e instanceof ChildIframeInserted || e instanceof ChildNodeRemoved)) {
        context.domHasChanged(e);
      }
      if ("Page.frameDetached".equals(m.getMessage().optString("method"))) {
        context.frameDied(m.getMessage());
View Full Code Here

Examples of tamagotchi.core.EventFactory

            icon = ImageIO.read(new File("ressources/system/icon"));
        } catch (IOException ex) {
            Logger.getLogger(GUIModel.class.getName()).log(Level.SEVERE, null, ex);
        }
        switchToMenu();
        KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(new EventFactory());
    }
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.