Skip to content

Commit

Permalink
Merge pull request #161 from skybber/master
Browse files Browse the repository at this point in the history
DELTASPIKE-1476: @DESTROYED qualifier for destroyedEvent
  • Loading branch information
tandraschko authored Jul 24, 2024
2 parents 0fa754f + 12b2179 commit f67d510
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.apache.deltaspike.core.spi.activation.Deactivatable;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.context.Destroyed;
import jakarta.enterprise.context.Initialized;
import jakarta.enterprise.context.RequestScoped;
import jakarta.enterprise.event.Event;
Expand All @@ -39,7 +40,7 @@
public class JsfRequestBroadcaster implements Deactivatable
{
@Inject @Initialized(RequestScoped.class) private Event<FacesContext> initEvent;
@Inject @Initialized(RequestScoped.class) private Event<FacesContext> destroyedEvent;
@Inject @Destroyed(RequestScoped.class) private Event<FacesContext> destroyedEvent;

/**
* Broadcasts @Initialized-event(s)
Expand Down

0 comments on commit f67d510

Please sign in to comment.