public class ServiceProviderAsset extends Object implements Asset
Constructor and Description |
---|
ServiceProviderAsset(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.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
openStream()
Get a input stream for the resource content.
|
public ServiceProviderAsset(Class<?>... providerImpls)
providerImpls
- The Classes to useIllegalArgumentException
- if providerImpls is null or contain null valuespublic ServiceProviderAsset(String... providerImpls)
providerImpls
- The class names to useIllegalArgumentException
- if providerImpls is null or contain null valuespublic InputStream openStream()
Asset
openStream
in interface Asset
InputStream
for each callCopyright © 2016 JBoss by Red Hat. All rights reserved.