All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.arquillian.testenricher.msc.MSCAuxiliaryArchiveAppender Maven / Gradle / Ivy

There is a newer version: 5.1.0.Beta6
Show newest version
/*
 * Copyright The WildFly Authors
 * SPDX-License-Identifier: Apache-2.0
 */
package org.jboss.arquillian.testenricher.msc;

import org.jboss.arquillian.container.test.spi.RemoteLoadableExtension;
import org.jboss.arquillian.container.test.spi.client.deployment.AuxiliaryArchiveAppender;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;

/**
 * MSCAuxiliaryArchiveAppender
 *
 * @author [email protected]
 * @since 07-Jun-2011
 */
public class MSCAuxiliaryArchiveAppender implements AuxiliaryArchiveAppender {

    @Override
    public Archive createAuxiliaryArchive() {
        JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "arquillian-testenricher-msc.jar");
        archive.addAsServiceProvider(RemoteLoadableExtension.class, MSCEnricherRemoteExtension.class);
        archive.addPackage(MSCEnricherExtension.class.getPackage());
        return archive;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy