org.jboss.webbeans.tck.unit.implementation.enterprise
Class EnterpriseBeanRemoveMethodTest
java.lang.Object
org.jboss.webbeans.tck.AbstractTest
org.jboss.webbeans.tck.unit.implementation.enterprise.EnterpriseBeanRemoveMethodTest
public class EnterpriseBeanRemoveMethodTest
- extends AbstractTest
Sections
3.3.5. Web Bean remove methods 3.3.5.1. Declaring a Web Bean remove method
using annotations. 3.3.5.2. Declaring a Web Bean remove method using XML
3.3.5.3. Remove method parameters
- Author:
- Nicklas Karlsson
Spec version: PRD2
| 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 |
EnterpriseBeanRemoveMethodTest
public EnterpriseBeanRemoveMethodTest()
applicationMayCallRemoveMethodOnDependentScopedSessionEnterpriseBeansButNoParametersArePassed
@SpecAssertion(section="3.3.1")
public void applicationMayCallRemoveMethodOnDependentScopedSessionEnterpriseBeansButNoParametersArePassed()
- If the scope is @Dependent, the application may call any EJB remove method
of an instance of the enterprise Web Bean, but then no parameters will be
passed to the method by the Web Bean manager
applicationCannotCallRemoveMethodOnNonDependentScopedSessionEnterpriseBean
@SpecAssertion(section="3.3.1")
public void applicationCannotCallRemoveMethodOnNonDependentScopedSessionEnterpriseBean()
- If the application directly calls an EJB remove method of an instance of
an enterprise Web Bean that is a stateful session bean and declares any
scope other than @Dependent, an UnsupportedOperationException is thrown.
applicationMayCallRemoveMethodOnDependentScopedSessionEnterpriseBeansButInstanceIsNotDestroyed
@SpecAssertion(section="3.3.1")
public void applicationMayCallRemoveMethodOnDependentScopedSessionEnterpriseBeansButInstanceIsNotDestroyed()
- If the application directly calls an EJB remove method of an instance of
an enterprise Web Bean that is a stateful session bean and has scope
Copyright © 2008-2009. All Rights Reserved.