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 and Description
    `ScopeEventBinding(Object object, Method eventHandlerMethod)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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)

Copyright © 2001–2018 Apache Cayenne. All rights reserved.