Examples of eventName()


Examples of org.apache.qpid.agent.annotations.QMFEvent.eventName()

            {
                QMFEvent eventAnnotation = (QMFEvent) cls
                        .getAnnotation(QMFEvent.class);
                if (eventAnnotation != null)
                {
                    key.className = eventAnnotation.eventName();
                    key.packageName = eventAnnotation.packageName();
                } else
                {
                    // If this is Object, we return the fake
                    // object value
View Full Code Here

Examples of org.apache.qpid.agent.annotations.QMFEvent.eventName()

            {
                QMFEvent eventAnnotation = (QMFEvent) cls
                        .getAnnotation(QMFEvent.class);
                if (eventAnnotation != null)
                {
                    key.className = eventAnnotation.eventName();
                    key.packageName = eventAnnotation.packageName();
                } else
                {
                    // If this is Object, we return the fake
                    // object value
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.EventSubscriptionQuery.eventName()

    EventSubscription mockSubscription = MockProvider.createMockEventSubscription();
    EventSubscriptionQuery mockQuery = mock(EventSubscriptionQuery.class);
    when(runtimeServiceMock.createEventSubscriptionQuery()).thenReturn(mockQuery);
    when(mockQuery.executionId(eq(MockProvider.EXAMPLE_EXECUTION_ID))).thenReturn(mockQuery);
    when(mockQuery.eventType(eq(MockProvider.EXAMPLE_EVENT_SUBSCRIPTION_TYPE))).thenReturn(mockQuery);
    when(mockQuery.eventName(eq(MockProvider.EXAMPLE_EVENT_SUBSCRIPTION_NAME))).thenReturn(mockQuery);
    when(mockQuery.singleResult()).thenReturn(mockSubscription);
  }

  @Test
  public void testGetSingleExecution() {
View Full Code Here

Examples of org.camunda.bpm.engine.runtime.EventSubscriptionQuery.eventName()

  @Test
  public void testGetNonExistingMessageEventSubscription() {
    EventSubscriptionQuery sampleEventSubscriptionQuery = mock(EventSubscriptionQuery.class);
    when(runtimeServiceMock.createEventSubscriptionQuery()).thenReturn(sampleEventSubscriptionQuery);
    when(sampleEventSubscriptionQuery.executionId(anyString())).thenReturn(sampleEventSubscriptionQuery);
    when(sampleEventSubscriptionQuery.eventName(anyString())).thenReturn(sampleEventSubscriptionQuery);
    when(sampleEventSubscriptionQuery.eventType(anyString())).thenReturn(sampleEventSubscriptionQuery);
    when(sampleEventSubscriptionQuery.singleResult()).thenReturn(null);

    String executionId = MockProvider.EXAMPLE_EXECUTION_ID;
    String nonExistingMessageName = "aMessage";
View Full Code Here

Examples of org.fenrir.yggdrasil.core.event.annotation.EventMethod.eventName()

            entry = new RegistryEntry();
            Method[] interfaceMethods = listenerInterface.getDeclaredMethods();
            for(Method method:interfaceMethods){
                EventMethod annotation = method.getAnnotation(EventMethod.class);
                if(annotation!=null){
                    String eventName = annotation.eventName();
                    entry.putEventMethod(eventName, method);
                }
                else if(entry.getEventMethod()==null){
                    entry.putEventMethod(method);
                }
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.