Examples of raiseEvent()


Examples of org.openengsb.domain.example.ExampleDomainEvents.raiseEvent()

        LogEvent e = new LogEvent();
        e.setName("42");

        ExampleDomainEvents exampleEvents = getOsgiService(ExampleDomainEvents.class);
        // this should be routed through the domain, which forwards it to the workflow service
        exampleEvents.raiseEvent(e);

        assertThat(logService.isWasCalled(), is(true));
    }

    private void addHelloWorldRule() throws Exception {
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.