T
- public interface ResourceAdapterContainer<T extends Archive<T>>
Modifier and Type | Method and Description |
---|---|
T |
setResourceAdapterXML(Asset resource)
Adds the
Asset as ra.xml to the container, returning the container itself. |
T |
setResourceAdapterXML(File resource)
Adds the
File as ra.xml to the container, returning the container itself. |
T |
setResourceAdapterXML(Package resourcePackage,
String resourceName)
Adds the resource inside the package as ra.xml to the container, returning the container itself.
|
T |
setResourceAdapterXML(String resourceName)
Adds the resource as ra.xml to the container, returning the container itself.
|
T |
setResourceAdapterXML(URL resource)
Adds the
URL as ra.xml to the container, returning the container itself. |
T setResourceAdapterXML(String resourceName) throws IllegalArgumentException
ClassLoader
used to obtain the resource is up to the implementation.resourceName
- resource to addIllegalArgumentException
- if resourceName is nullsetResourceAdapterXML(Asset)
T setResourceAdapterXML(File resource) throws IllegalArgumentException
File
as ra.xml to the container, returning the container itself.resource
- File
resource to addIllegalArgumentException
- if resource is nullsetResourceAdapterXML(Asset)
T setResourceAdapterXML(URL resource) throws IllegalArgumentException
URL
as ra.xml to the container, returning the container itself.resource
- URL
resource to addIllegalArgumentException
- if resource is nullsetResourceAdapterXML(Asset)
T setResourceAdapterXML(Asset resource) throws IllegalArgumentException
Asset
as ra.xml to the container, returning the container itself.resource
- Asset
resource to addIllegalArgumentException
- if resource is nullT setResourceAdapterXML(Package resourcePackage, String resourceName) throws IllegalArgumentException
ClassLoader
used to obtain the resource is up to the implementation.resourcePackage
- The package of the resourcesresourceName
- The name of the resource inside resourcePackageIllegalArgumentException
- if resourcePackage is nullIllegalArgumentException
- if resourceName is nullsetResourceAdapterXML(String)
Copyright © 2016 JBoss by Red Hat. All rights reserved.