Package org.apache.tuscany.sca.implementation.jee.impl

Examples of org.apache.tuscany.sca.implementation.jee.impl.JEEImplementationImpl


        XMLStreamReader reader = inputFactory.createXMLStreamReader(is);
        Composite composite = (Composite) staxProcessor.read(reader);
        assertNotNull(composite);

        compositeBuilder.build(composite);
        JEEImplementationImpl implementation = (JEEImplementationImpl) composite.getComponents().get(0).getImplementation();
       
        assertTrue(implementation.getArchive().equals("myarchive.ear"));
        PolicySet policySet = implementation.getPolicySets().get(0);
        assertEquals(new QName("http://sample/test-policy", "allowRole1"), policySet.getName());
    }
View Full Code Here


        XMLStreamReader reader = inputFactory.createXMLStreamReader(is);
        Composite composite = (Composite) staxProcessor.read(reader);
        assertNotNull(composite);

        compositeBuilder.build(composite);
        JEEImplementationImpl implementation = (JEEImplementationImpl) composite.getComponents().get(0).getImplementation();
       
        assertTrue(implementation.getArchive().equals("myarchive.ear"));
        PolicySet policySet = implementation.getPolicySets().get(0);
        assertEquals(new QName("http://sample/test-policy", "allowRole1"), policySet.getName());
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.implementation.jee.impl.JEEImplementationImpl

Copyright © 2018 www.massapicom. 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.