T
- public abstract class ResourceAdapterContainerBase<T extends Archive<T>> extends ContainerBase<T> implements ResourceAdapterContainer<T>
DEFAULT_MANIFEST_NAME
Modifier | Constructor and Description |
---|---|
protected |
ResourceAdapterContainerBase(java.lang.Class<T> actualType,
Archive<?> archive) |
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(java.io.File resource)
Adds the
File as ra.xml to the container, returning the container itself. |
T |
setResourceAdapterXML(java.lang.Package resourcePackage,
java.lang.String resourceName)
Adds the resource inside the package as ra.xml to the container, returning the container itself.
|
T |
setResourceAdapterXML(java.lang.String resourceName)
Adds the resource as ra.xml to the container, returning the container itself.
|
T |
setResourceAdapterXML(java.net.URL resource)
Adds the
URL as ra.xml to the container, returning the container itself. |
add, add, add, add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, addAsDirectory, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResources, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResources, addAsServiceProvider, addAsServiceProvider, addAsServiceProviderAndClasses, addClass, addClass, addClass, addClasses, addDefaultPackage, addHandlers, addManifest, addPackage, addPackage, addPackages, addPackages, addPackages, addPackages, contains, contains, covarientReturn, delete, delete, deleteClass, deleteClass, deleteClasses, deleteDefaultPackage, deletePackage, deletePackage, deletePackages, deletePackages, deletePackages, deletePackages, equals, filter, get, get, getActualClass, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getClassesPath, getContent, getContent, getId, getLibraryPath, getManifestPath, getName, getResourcePath, hashCode, merge, merge, merge, merge, merge, merge, move, move, setManifest, setManifest, setManifest, setManifest, setManifest, shallowCopy, shallowCopy, toString, toString, toString, writeTo
as, getArchive
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
as
public T setResourceAdapterXML(java.lang.String resourceName) throws java.lang.IllegalArgumentException
ResourceAdapterContainer
ClassLoader
used to obtain the resource is up to the implementation.setResourceAdapterXML
in interface ResourceAdapterContainer<T extends Archive<T>>
resourceName
- resource to addjava.lang.IllegalArgumentException
- if resourceName is nullResourceAdapterContainer.setResourceAdapterXML(Asset)
public T setResourceAdapterXML(java.io.File resource) throws java.lang.IllegalArgumentException
ResourceAdapterContainer
File
as ra.xml to the container, returning the container itself.setResourceAdapterXML
in interface ResourceAdapterContainer<T extends Archive<T>>
resource
- File
resource to addjava.lang.IllegalArgumentException
- if resource is nullResourceAdapterContainer.setResourceAdapterXML(Asset)
public T setResourceAdapterXML(java.net.URL resource) throws java.lang.IllegalArgumentException
ResourceAdapterContainer
URL
as ra.xml to the container, returning the container itself.setResourceAdapterXML
in interface ResourceAdapterContainer<T extends Archive<T>>
resource
- URL
resource to addjava.lang.IllegalArgumentException
- if resource is nullResourceAdapterContainer.setResourceAdapterXML(Asset)
public T setResourceAdapterXML(Asset resource) throws java.lang.IllegalArgumentException
ResourceAdapterContainer
Asset
as ra.xml to the container, returning the container itself.setResourceAdapterXML
in interface ResourceAdapterContainer<T extends Archive<T>>
resource
- Asset
resource to addjava.lang.IllegalArgumentException
- if resource is nullpublic T setResourceAdapterXML(java.lang.Package resourcePackage, java.lang.String resourceName) throws java.lang.IllegalArgumentException
ResourceAdapterContainer
ClassLoader
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 resourcePackagejava.lang.IllegalArgumentException
- if resourcePackage is nullResourceAdapterContainer.setResourceAdapterXML(String)