|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - public interface ResourceAdapterContainer<T extends Archive<T>>

ResourceAdapterContainer
Defines the contract for a component capable of storing Resource adapter
resources.
| Method Summary | |
|---|---|
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(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. |
| Method Detail |
|---|
T setResourceAdapterXML(String resourceName)
throws IllegalArgumentException
ClassLoader used to obtain the resource is up to the implementation.
resourceName - resource to add
IllegalArgumentException - 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 add
IllegalArgumentException - 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 add
IllegalArgumentException - 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 add
IllegalArgumentException - if resource is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||