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

  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 Details

  - ### ScopeEventBinding

    public ScopeEventBinding(Object object, Method eventHandlerMethod)

- ## Method Details

  - ### getObject

    public Object getObject()

  - ### onScopeEvent

    public boolean onScopeEvent(Object... eventArgs)