ShrinkWrap Descriptors SPI 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api
Class ApiExposition

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.api.ApiExposition

Deprecated.

@Deprecated
public final class ApiExposition
extends Object

Indirection exposing some package-private methods in the Descriptors API to the implementation classes. TO BE MOVED TO THE impl-base PACKAGE ONCE IT EXISTS; the user API should NOT see this on the compilation ClassPath: SHRINKDESC-42

Author:
Andrew Lee Rubinger

Method Summary
static Descriptor createFromImplModelType(Class<? extends Descriptor> implClass, String descriptorName)
          Deprecated. Creates a Descriptor instance from the specified implementation class name, also using the specified name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFromImplModelType

public static Descriptor createFromImplModelType(Class<? extends Descriptor> implClass,
                                                 String descriptorName)
                                          throws IllegalArgumentException
Deprecated. 
Creates a Descriptor instance from the specified implementation class name, also using the specified name

Parameters:
implClass -
descriptorName -
Returns:
Throws:
IllegalArgumentException - If either argument is not specified

ShrinkWrap Descriptors SPI 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.