ScopeEventBinding (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.di.spi, class: ScopeEventBinding

# 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

  Modifier and Type
  Method
  Description
  `Object`
  `getObject()`
  `boolean`
  `onScopeEvent(Object... eventArgs)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### ScopeEventBinding

    public ScopeEventBinding(Object object, Method eventHandlerMethod)

- ## Method Details

  - ### getObject

    public Object getObject()

  - ### onScopeEvent

    public boolean onScopeEvent(Object... eventArgs)