org.jboss.cdi.tck.tests.context.session.event
Class ObservingBean

java.lang.Object
  extended by org.jboss.cdi.tck.tests.context.session.event.ObservingBean

@ApplicationScoped
public class ObservingBean
extends Object


Constructor Summary
ObservingBean()
           
 
Method Summary
 AtomicInteger getDestroyedSessionCount()
           
 AtomicInteger getInitializedSessionCount()
           
 void observeSessionDestroyed(javax.servlet.http.HttpSessionEvent event)
           
 void observeSessionInitialized(javax.servlet.http.HttpSessionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObservingBean

public ObservingBean()
Method Detail

observeSessionInitialized

public void observeSessionInitialized(@Observes@Initialized(value=javax.enterprise.context.SessionScoped.class)
                                      javax.servlet.http.HttpSessionEvent event)

observeSessionDestroyed

public void observeSessionDestroyed(@Observes@Destroyed(value=javax.enterprise.context.SessionScoped.class)
                                    javax.servlet.http.HttpSessionEvent event)

getInitializedSessionCount

public AtomicInteger getInitializedSessionCount()

getDestroyedSessionCount

public AtomicInteger getDestroyedSessionCount()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.