Class ServiceProviderAsset
java.lang.Object
org.jboss.shrinkwrap.impl.base.asset.ServiceProviderAsset
- All Implemented Interfaces:
Asset
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceProviderAsset(Class<?>... providerImpls) Creates a newline separated text file off the providerImpls class names.ServiceProviderAsset(String... providerImpls) Creates a newline separated text file off the providerImpls class names. -
Method Summary
Modifier and TypeMethodDescriptionGet a input stream for the resource content.
-
Field Details
-
providerImpls
-
-
Constructor Details
-
ServiceProviderAsset
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
-
ServiceProviderAsset
Creates a newline separated text file off the providerImpls class names.- Parameters:
providerImpls- The class names to use- Throws:
IllegalArgumentException- if providerImpls is null or contain null values
-
-
Method Details
-
openStream
Description copied from interface:AssetGet a input stream for the resource content. The caller is responsible for closing the stream.- Specified by:
openStreamin interfaceAsset- Returns:
- A new open
InputStreamfor each call
-