Skip to content

Conversation

@iweinzierl
Copy link

  • added class EntityListenerManager that parses entity listeners by searching for @EntittyListeners annotation
  • added class EntityListenerMeta to store meta information (entity listeners, methods that shall be invoked after pre/post save and pre/post remove) about EntityListeners in class EntityListenerManager
  • notify EntityListenerManager before and after entities are saved and removed

@sibelius
Copy link
Contributor

sibelius commented Dec 2, 2015

@iweinzierl don't you think it is easier to override save, update or delete methods on subclasses then have listener for pre and post operations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants