org.jboss.webbeans.tck.integration.context.application
Class ApplicationContextTest

java.lang.Object
  extended by org.jboss.webbeans.tck.AbstractTest
      extended by org.jboss.webbeans.tck.integration.context.application.ApplicationContextTest

public class ApplicationContextTest
extends AbstractTest

Spec version: PRD2


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.webbeans.tck.AbstractTest
AbstractTest.RunInDependentContext
 
Field Summary
 
Fields inherited from class org.jboss.webbeans.tck.AbstractTest
BUILT_IN_BEANS, manager, visited
 
Constructor Summary
ApplicationContextTest()
           
 
Method Summary
 void testApplicationContextSharedBetweenInvokationsInApplication()
          The application context is shared between all servlet requests, web service invocations, EJB remote method invocations, EJB timeouts and message deliveries to message driven beans that execute within the same application
 void testApplicationScopeActiveDuringCallToEjbTimeoutMethod()
          The application scope is also active during any remote method invocation of any EJB bean, during any call to an EJB timeout method and during message delivery to any EJB message driven bean.
 void testApplicationScopeActiveDuringEjbMessageDelivery()
          The application scope is also active during any remote method invocation of any EJB bean, during any call to an EJB timeout method and during message delivery to any EJB message driven bean.
 void testApplicationScopeActiveDuringRemoteMethodInvocationOfEjb()
          The application scope is also active during any remote method invocation of any EJB bean, during any call to an EJB timeout method and during message delivery to any EJB message driven bean.
 void testApplicationScopeActiveDuringServiceMethod()
          The application scope is active during the service() method of any servlet in the web application.
 void testApplicationScopeActiveDuringWebSericeInvocation()
          The application scope is active during any Java EE web service invocation.
 void testApplicationScopeDestroyedWhenApplicationIsUndeployed()
          The application context is destroyed when the application is undeployed.
 
Methods inherited from class org.jboss.webbeans.tck.AbstractTest
activateDependentContext, after, before, createEnterpriseBean, createProducerFieldBean, createProducerMethodBean, createSimpleBean, deactivateDependentContext, deployBeans, deserialize, getEnabledDeploymentTypes, getStandardDeploymentTypes, mockCreationalContext, serialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationContextTest

public ApplicationContextTest()
Method Detail

testApplicationScopeActiveDuringServiceMethod

@SpecAssertion(section="8.5.3")
public void testApplicationScopeActiveDuringServiceMethod()
The application scope is active during the service() method of any servlet in the web application.


testApplicationScopeActiveDuringWebSericeInvocation

@SpecAssertion(section="8.5.3")
public void testApplicationScopeActiveDuringWebSericeInvocation()
The application scope is active during any Java EE web service invocation.


testApplicationScopeActiveDuringRemoteMethodInvocationOfEjb

@SpecAssertion(section="8.5.3")
public void testApplicationScopeActiveDuringRemoteMethodInvocationOfEjb()
The application scope is also active during any remote method invocation of any EJB bean, during any call to an EJB timeout method and during message delivery to any EJB message driven bean.


testApplicationScopeActiveDuringCallToEjbTimeoutMethod

@SpecAssertion(section="8.5.3")
public void testApplicationScopeActiveDuringCallToEjbTimeoutMethod()
The application scope is also active during any remote method invocation of any EJB bean, during any call to an EJB timeout method and during message delivery to any EJB message driven bean.


testApplicationScopeActiveDuringEjbMessageDelivery

@SpecAssertion(section="8.5.3")
public void testApplicationScopeActiveDuringEjbMessageDelivery()
The application scope is also active during any remote method invocation of any EJB bean, during any call to an EJB timeout method and during message delivery to any EJB message driven bean.


testApplicationContextSharedBetweenInvokationsInApplication

@SpecAssertion(section="8.5.3")
public void testApplicationContextSharedBetweenInvokationsInApplication()
The application context is shared between all servlet requests, web service invocations, EJB remote method invocations, EJB timeouts and message deliveries to message driven beans that execute within the same application


testApplicationScopeDestroyedWhenApplicationIsUndeployed

@SpecAssertion(section="8.5.3")
public void testApplicationScopeDestroyedWhenApplicationIsUndeployed()
The application context is destroyed when the application is undeployed.



Copyright © 2008-2009. All Rights Reserved.