org.jboss.shrinkwrap.api
Class Archives

java.lang.Object
  extended by org.jboss.shrinkwrap.api.Archives

Deprecated. Use ShrinkWrap

@Deprecated
public final class Archives
extends Object

Generic unified factory for archive creation.

Version:
$Revision: $
Author:
Aslak Knutsen
See Also:
ShrinkWrap}

Method Summary
static
<T extends Assignable>
void
addExtensionOverride(Class<T> extensionClass, Class<? extends T> extensionImplClass)
          Deprecated. Override the loading of a specific Extension.
static
<T extends Assignable>
T
create(String archiveName, Class<T> type)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <T extends Assignable> T create(String archiveName,
                                              Class<T> type)
Deprecated. 

Create a archive as a specific type.

Parameters:
archiveName - The name of the archive
Returns:
A Assignable archive base
See Also:
ShrinkWrap#create(String, Class)}

addExtensionOverride

public static <T extends Assignable> void addExtensionOverride(Class<T> extensionClass,
                                                               Class<? extends T> extensionImplClass)
Deprecated. 
Override the loading of a specific Extension.

Type Parameters:
T -
Parameters:
extensionClass - The Extension interface
extensionImplClass - The Extension implementation class
See Also:
Configuration#getExtensionLoader()}


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.