public class Swarm extends Object
main(...) if an application does not provide one.
This simply constructs a default container, starts it and performs a default deployment. Typically only useful for barren WAR applications.
| Constructor and Description |
|---|
Swarm() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.jboss.shrinkwrap.api.spec.JavaArchive> |
allArtifacts() |
static org.jboss.shrinkwrap.api.spec.JavaArchive |
artifact(String gav) |
static void |
factoryMain(ContainerFactory factory,
String... args) |
static void |
main(String... args)
Main entry-point.
|
static void |
simpleMain(String... args) |
public static void main(String... args) throws Exception
args - Ignored.Exception - if an error occurs.public static void factoryMain(ContainerFactory factory, String... args) throws Exception
Exceptionpublic static org.jboss.shrinkwrap.api.spec.JavaArchive artifact(String gav) throws Exception
ExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.