Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright 2014 Red Hat, Inc. and/or its affiliates.
  * Licensed under the Eclipse Public License version 1.0, available at
 package org.jboss.forge.arquillian.archive;
 import java.util.List;
import  org.jboss.shrinkwrap.api.Archive;
import  org.jboss.shrinkwrap.api.asset.Asset;
import  org.jboss.shrinkwrap.api.container.LibraryContainer;
import  org.jboss.shrinkwrap.api.container.ResourceContainer;
import  org.jboss.shrinkwrap.api.container.ServiceProviderContainer;

Archive representing a Furnace AddonDependency deployment.

Lincoln Baxter, III
public interface ForgeArchive extends Archive<ForgeArchive>, LibraryContainer<ForgeArchive>,
         ResourceContainer<ForgeArchive>, ServiceProviderContainer<ForgeArchive>
Sets the current forge.xml descritor for this archive.
   ForgeArchive setAsForgeXML(Asset resourcethrows IllegalArgumentException;

Adds the given AddonDependency instances as addon module dependencies for this test deployment.
Get the currently specified AddonDependency instances for this addon test deployment.
Adds an empty beans.xml file in this archive
   ForgeArchive addBeansXML();

Adds an beans.xml file in this archive with the specified content
   ForgeArchive addBeansXML(Asset resource);

Add a basic service container, using the given service types as services in the deployment.

WARNING: Cannot be combined with other service containers.

   ForgeArchive addAsLocalServices(Class<?>... serviceTypes);
New to GrepCode? Check out our FAQ X