Package org.apache.webbeans.newtests.interceptors.beans

Examples of org.apache.webbeans.newtests.interceptors.beans.DependentScopedBean.sayHello()


        Assert.assertTrue(DependentScopedBean.POST_CONSTRUCT);
       
        Assert.assertTrue(!DependentScopedBean.PRE_DESTROY);
       
        DependentScopedBean dbean = (DependentScopedBean)reference;
        dbean.sayHello();
        //X TODO this should finally work! Assert.assertTrue(DependentInterceptor.refCount == 1);
       
        Assert.assertTrue(DependentScopedBean.SAY_HELLO);
               
        bean.destroy(dbean, ctx);
View Full Code Here


        Assert.assertTrue(DependentScopedBean.POST_CONSTRUCT);
       
        Assert.assertTrue(!DependentScopedBean.PRE_DESTROY);
       
        DependentScopedBean dbean = (DependentScopedBean)reference;
        dbean.sayHello();
       
        Assert.assertTrue(DependentScopedBean.SAY_HELLO);
               
        bean.destroy(dbean, ctx);
       
View Full Code Here

        Assert.assertTrue(DependentScopedBean.POST_CONSTRUCT);
       
        Assert.assertTrue(!DependentScopedBean.PRE_DESTROY);
       
        DependentScopedBean dbean = (DependentScopedBean)reference;
        dbean.sayHello();

        //X TODO this should finally work!
        //X Assert.assertTrue(DependentInterceptor.refCount == 1);
       
        Assert.assertTrue(DependentScopedBean.SAY_HELLO);
View Full Code Here

        Assert.assertTrue(DependentScopedBean.POST_CONSTRUCT);
       
        Assert.assertTrue(!DependentScopedBean.PRE_DESTROY);
       
        DependentScopedBean dbean = (DependentScopedBean)reference;
        dbean.sayHello();

        Assert.assertTrue(DependentInterceptor.refCount == 1);
       
        Assert.assertTrue(DependentScopedBean.SAY_HELLO);
View Full Code Here

        Assert.assertTrue(DependentScopedBean.POST_CONSTRUCT);
       
        Assert.assertTrue(!DependentScopedBean.PRE_DESTROY);
       
        DependentScopedBean dbean = (DependentScopedBean)reference;
        dbean.sayHello();

        Assert.assertTrue(DependentInterceptor.refCount == 1);
       
        Assert.assertTrue(DependentScopedBean.SAY_HELLO);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.