isEmpty

addDefaultListener

Registers a LifecycleListener for all events on all entities.
Note that listeners are not required to implement
LifecycleListener interface. Other methods in this class can be
used to register arbitrary listeners.

addListener

Registers a LifecycleListener for all events on all entities.
Note that listeners are not required to implement
LifecycleListener interface. Other methods in this class can be
used to register arbitrary listeners.