tigase.eventbus.impl

## Class ReflectEventListenerHandler

- java.lang.Object
- - tigase.eventbus.impl.AbstractHandler
  - - tigase.eventbus.impl.ReflectEventListenerHandler

- Direct Known Subclasses:
    ReflectEventSourceListenerHandler

      public class ReflectEventListenerHandler
      extends AbstractHandler

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class tigase.eventbus.impl.AbstractHandler

      `AbstractHandler.Type`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Object` | `consumerObject`
    `protected HandleEvent.Type` | `filter`
    `protected Method` | `handlerMethod`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReflectEventListenerHandler(HandleEvent.Type filter, String packageName, String eventName, Object consumerObject, Method handlerMethod)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `dispatch(Object event, Object source, boolean remotelyGeneratedEvent)`
    `boolean` | `equals(Object o)`
    `AbstractHandler.Type` | `getRequiredEventType()`
    `int` | `hashCode()`

    - ### Methods inherited from class tigase.eventbus.impl.AbstractHandler

      `getEventName, getPackageName`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### consumerObject

          protected final Object consumerObject

    - #### filter

          protected final HandleEvent.Type filter

    - #### handlerMethod

          protected final Method handlerMethod

  - ### Constructor Detail

    - #### ReflectEventListenerHandler

          public ReflectEventListenerHandler(HandleEvent.Type filter,
                                             String packageName,
                                             String eventName,
                                             Object consumerObject,
                                             Method handlerMethod)

  - ### Method Detail

    - #### dispatch

          public void dispatch(Object event,
                               Object source,
                               boolean remotelyGeneratedEvent)

      Specified by:
        `dispatch` in class `AbstractHandler`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### getRequiredEventType

          public AbstractHandler.Type getRequiredEventType()

      Specified by:
        `getRequiredEventType` in class `AbstractHandler`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.