org.hibernate.search.backend.jgroups.impl

## Class MessageListenerToRequestHandlerAdapter

- java.lang.Object
- - org.hibernate.search.backend.jgroups.impl.MessageListenerToRequestHandlerAdapter

- All Implemented Interfaces:
    RequestHandler

      public final class MessageListenerToRequestHandlerAdapter
      extends Object
      implements RequestHandler

  Delegate request to listener.
  Author:
    Ales Justin

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MessageListenerToRequestHandlerAdapter(MessageListener delegate)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `handle(Message msg)`

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

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

- - ### Constructor Detail

    - #### MessageListenerToRequestHandlerAdapter

          public MessageListenerToRequestHandlerAdapter(MessageListener delegate)

  - ### Method Detail

    - #### handle

          public Object handle(Message msg)
                        throws Exception

      Specified by:
        `handle` in interface `RequestHandler`
      Throws:
        `Exception`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved