Examples of OperationsPolicy


Examples of org.apache.openejb.test.object.OperationsPolicy

     * </PRE>
     */
    public void test10_ejbActivate(){
        try{
           
        OperationsPolicy policy = new OperationsPolicy();
        policy.allow( OperationsPolicy.Context_getEJBHome );
        policy.allow( OperationsPolicy.Context_getEJBObject );
        policy.allow( OperationsPolicy.Context_getPrimaryKey );
        policy.allow( OperationsPolicy.JNDI_access_to_java_comp_env );
   
        Object expected = policy;
        Object actual = ejbObject.getAllowedOperationsReport("ejbActivate");
   
        assertNotNull("The OperationsPolicy is null", actual );
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.