public class WebModule
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WebModule.Descriptor<D extends NamedModule> |
static class |
WebModule.Named |
Constructor and Description |
---|
WebModule(java.lang.Class<?> clazz,
java.lang.Class<?>... excluded) |
WebModule(java.lang.Class<?> clazz,
java.lang.String appName,
java.lang.Class<?>... excluded) |
WebModule(WebArchive archive) |
Modifier and Type | Method and Description |
---|---|
WebArchive |
getArchive() |
public WebModule(WebArchive archive)
public WebModule(java.lang.Class<?> clazz, java.lang.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 packagepublic WebModule(java.lang.Class<?> clazz, java.lang.String appName, java.lang.Class<?>... excluded)