Package org.apache.cayenne.di.spi

## Class ScopeEventBinding

- java.lang.Object
- - org.apache.cayenne.di.spi.ScopeEventBinding

-     public class ScopeEventBinding
      extends Object

  A class that wraps an annotated method call of an object, passing it DI scope events.
  Since:
    3.1

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ScopeEventBinding​(Object object, Method eventHandlerMethod)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Object` | `getObject()` |
    `boolean` | `onScopeEvent​(Object... eventArgs)` |

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

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

- - ### Constructor Detail

    - #### ScopeEventBinding

          public ScopeEventBinding​(Object object,
                                   Method eventHandlerMethod)

  - ### Method Detail

    - #### getObject

          public Object getObject()

    - #### onScopeEvent

          public boolean onScopeEvent​(Object... eventArgs)