ShrinkWrap Implementation Base 1.0.0-cr-2

org.jboss.shrinkwrap.impl.base.asset
Class ServiceProviderAsset

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.asset.ServiceProviderAsset
All Implemented Interfaces:
Asset

public class ServiceProviderAsset
extends Object
implements Asset

ServiceProviderAsset

Version:
$Revision: $
Author:
Aslak Knutsen

Constructor Summary
ServiceProviderAsset(Class<?>... providerImpls)
          Creates a newline separated text file off the providerImpls class names.
 
Method Summary
 InputStream openStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceProviderAsset

public ServiceProviderAsset(Class<?>... providerImpls)
Creates a newline separated text file off the providerImpls class names.

Parameters:
providerImpls - The Classes to use
Throws:
IllegalArgumentException - if providerImpls is null or contain null values
Method Detail

openStream

public InputStream openStream()
Specified by:
openStream in interface Asset

ShrinkWrap Implementation Base 1.0.0-cr-2

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