@ApplicationScoped public class ObservingBean extends Object
| Constructor and Description |
|---|
ObservingBean() |
| Modifier and Type | Method and Description |
|---|---|
AtomicInteger |
getDestroyedSessionCount() |
AtomicInteger |
getInitializedSessionCount() |
void |
observeSessionDestroyed(javax.servlet.http.HttpSession event) |
void |
observeSessionInitialized(javax.servlet.http.HttpSession event) |
public void observeSessionInitialized(@Observes @Initialized(value=javax.enterprise.context.SessionScoped.class)
javax.servlet.http.HttpSession event)
public void observeSessionDestroyed(@Observes @Destroyed(value=javax.enterprise.context.SessionScoped.class)
javax.servlet.http.HttpSession event)
public AtomicInteger getInitializedSessionCount()
public AtomicInteger getDestroyedSessionCount()
Copyright © 2008–2016 CDI TCK. All rights reserved.