Class EntityDeleteEvent

  • @ApplicationScoped
    public class EntityDeleteEvent
    extends EntityPersistenceEvent
    The event object send out when an entity gets deleted. To receive this event, create a class with a method which has this signature: public void onEvent(@Observes EntityDeleteEvent event) { Note, the method name is unimportant, the @Observes EntityDeleteEvent specifies that this method will be called before persisting a new instance.
    • Constructor Detail

      • EntityDeleteEvent

        public EntityDeleteEvent()