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

Examples of org.apache.tuscany.sca.contribution.jee.impl.EarContributionProcessor


public class EarContributionProcessorTestCase {
    private static final String EAR_CONTRIBUTION = "/ejb-injection-sample.ear";

    @Test
    public void testProcessPackageArtifacts() throws Exception {
        EarContributionProcessor earProcessor = new EarContributionProcessor();

        URL earURL = getClass().getResource(EAR_CONTRIBUTION);
        InputStream earStream = earURL.openStream();
        List<URI> artifacts = null;
        try {
            artifacts = earProcessor.getArtifacts(earURL, earStream);
        } finally {
            IOHelper.closeQuietly(earStream);
        }
       
        Assert.assertNotNull(artifacts);
View Full Code Here


public class EarContributionProcessorTestCase {
    private static final String EAR_CONTRIBUTION = "/ejb-injection-sample.ear";

    @Test
    public void testProcessPackageArtifacts() throws Exception {
        EarContributionProcessor earProcessor = new EarContributionProcessor();

        URL earURL = getClass().getResource(EAR_CONTRIBUTION);
        InputStream earStream = earURL.openStream();
        List<URI> artifacts = null;
        try {
            artifacts = earProcessor.getArtifacts(earURL, earStream);
        } finally {
            IOHelper.closeQuietly(earStream);
        }
       
        Assert.assertNotNull(artifacts);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.contribution.jee.impl.EarContributionProcessor

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.