public class WebModule extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WebModule.Descriptor<D extends NamedModule> |
static class |
WebModule.Named |
| Constructor and Description |
|---|
WebModule(Class<?> clazz,
Class<?>... excluded) |
WebModule(Class<?> clazz,
String appName,
Class<?>... excluded) |
WebModule(String name) |
WebModule(org.jboss.shrinkwrap.api.spec.WebArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.shrinkwrap.api.spec.WebArchive |
getArchive() |
public WebModule(org.jboss.shrinkwrap.api.spec.WebArchive archive)
public WebModule(String name)
public WebModule(Class<?> clazz, Class<?>... excluded)
clazz - class used to extract the package to include in the webarchiveexcluded - list of excluded files (will not be in the webarchive) contained in the selected packageCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.