Class ObservingBean
- java.lang.Object
-
- org.jboss.cdi.tck.tests.se.events.lifecycle.ObservingBean
-
@ApplicationScoped public class ObservingBean extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>OBSERVED_SHUTDOWN_EVENTSstatic List<String>OBSERVED_STARTING_EVENTS
-
Constructor Summary
Constructors Constructor Description ObservingBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitAppScope(Object init)voidobserveBeforeShutdown(Object event)voidshutdown(jakarta.enterprise.event.Shutdown shutdown)voidstartup(jakarta.enterprise.event.Startup startup)
-
-
-
Method Detail
-
startup
public void startup(@Observes jakarta.enterprise.event.Startup startup)
-
initAppScope
public void initAppScope(@Observes @Initialized(jakarta.enterprise.context.ApplicationScoped.class) Object init)
-
shutdown
public void shutdown(@Observes jakarta.enterprise.event.Shutdown shutdown)
-
observeBeforeShutdown
public void observeBeforeShutdown(@Observes @BeforeDestroyed(jakarta.enterprise.context.ApplicationScoped.class) Object event)
-
-