|
ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
org.jboss.shrinkwrap.impl.base.container.ContainerBase<T>
org.jboss.shrinkwrap.impl.base.container.ResourceAdapterContainerBase<T>
T - public abstract class ResourceAdapterContainerBase<T extends Archive<T>>
ResourceAdapterContainerBase Abstract class that helps implement the ResourceAdapter. Used by specs that extends the ResourceAdapter.
| Field Summary |
|---|
| Fields inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer |
|---|
DEFAULT_MANIFEST_NAME |
| Constructor Summary | |
|---|---|
protected |
ResourceAdapterContainerBase(Class<T> actualType,
Archive<?> archive)
|
| 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(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. |
| Methods inherited from class org.jboss.shrinkwrap.impl.base.AssignableBase |
|---|
as, getArchive |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.shrinkwrap.api.Assignable |
|---|
as |
| Constructor Detail |
|---|
protected ResourceAdapterContainerBase(Class<T> actualType,
Archive<?> archive)
| Method Detail |
|---|
public T setResourceAdapterXML(String resourceName)
throws IllegalArgumentException
ResourceAdapterContainerClassLoader used to obtain the resource is up to the implementation.
setResourceAdapterXML in interface ResourceAdapterContainer<T extends Archive<T>>resourceName - resource to add
IllegalArgumentException - if resourceName is nullResourceAdapterContainer.setResourceAdapterXML(Asset)
public T setResourceAdapterXML(File resource)
throws IllegalArgumentException
ResourceAdapterContainerFile as ra.xml to the container, returning the container itself.
setResourceAdapterXML in interface ResourceAdapterContainer<T extends Archive<T>>resource - File resource to add
IllegalArgumentException - if resource is nullResourceAdapterContainer.setResourceAdapterXML(Asset)
public T setResourceAdapterXML(URL resource)
throws IllegalArgumentException
ResourceAdapterContainerURL as ra.xml to the container, returning the container itself.
setResourceAdapterXML in interface ResourceAdapterContainer<T extends Archive<T>>resource - URL resource to add
IllegalArgumentException - if resource is nullResourceAdapterContainer.setResourceAdapterXML(Asset)
public T setResourceAdapterXML(Asset resource)
throws IllegalArgumentException
ResourceAdapterContainerAsset as ra.xml to the container, returning the container itself.
setResourceAdapterXML in interface ResourceAdapterContainer<T extends Archive<T>>resource - Asset resource to add
IllegalArgumentException - if resource is null
public T setResourceAdapterXML(Package resourcePackage,
String resourceName)
throws IllegalArgumentException
ResourceAdapterContainerClassLoader used to obtain the resource is up to
the implementation.
setResourceAdapterXML in interface ResourceAdapterContainer<T extends Archive<T>>resourcePackage - The package of the resourcesresourceName - The name of the resource inside resourcePackage
IllegalArgumentException - if resourcePackage is nullResourceAdapterContainer.setResourceAdapterXML(String)
|
ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||