public final class Descriptors extends Object
ClassLoader to the target class| Constructor and Description |
|---|
Descriptors() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> |
create(Class<T> type) |
static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> |
create(Class<T> type,
String descriptorName) |
static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> |
importAs(Class<T> type) |
static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> |
importAs(Class<T> type,
String descriptorName) |
public static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> T create(Class<T> type) throws IllegalArgumentException
IllegalArgumentExceptionpublic static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> T create(Class<T> type, String descriptorName) throws IllegalArgumentException
IllegalArgumentExceptionpublic static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> org.jboss.shrinkwrap.descriptor.api.DescriptorImporter<T> importAs(Class<T> type) throws IllegalArgumentException
IllegalArgumentExceptionpublic static <T extends org.jboss.shrinkwrap.descriptor.api.Descriptor> org.jboss.shrinkwrap.descriptor.api.DescriptorImporter<T> importAs(Class<T> type, String descriptorName) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2013 JBoss by Red Hat. All Rights Reserved.