T
- public abstract class EnterpriseContainerBase<T extends Archive<T>> extends ContainerBase<T> implements EnterpriseContainer<T>
DEFAULT_MANIFEST_NAME
Modifier | Constructor and Description |
---|---|
protected |
EnterpriseContainerBase(Class<T> actualType,
Archive<?> archive) |
Modifier and Type | Method and Description |
---|---|
T |
addAsApplicationResource(Asset resource,
ArchivePath target) |
T |
addAsApplicationResource(Asset resource,
String target) |
T |
addAsApplicationResource(File resource) |
T |
addAsApplicationResource(File resource,
ArchivePath target) |
T |
addAsApplicationResource(File resource,
String target) |
T |
addAsApplicationResource(Package resourcePackage,
String resourceName) |
T |
addAsApplicationResource(Package resourcePackage,
String resourceName,
ArchivePath target) |
T |
addAsApplicationResource(Package resourcePackage,
String resourceName,
String target) |
T |
addAsApplicationResource(String resourceName) |
T |
addAsApplicationResource(String resourceName,
ArchivePath target) |
T |
addAsApplicationResource(String resourceName,
String target) |
T |
addAsApplicationResource(URL resource,
ArchivePath target) |
T |
addAsApplicationResource(URL resource,
String target) |
T |
addAsApplicationResources(Package resourcePackage,
String... resourceNames) |
T |
addAsModule(Archive<?> archive) |
T |
addAsModule(Asset resource,
ArchivePath targetPath) |
T |
addAsModule(Asset resource,
String targetPath) |
T |
addAsModule(File resource) |
T |
addAsModule(File resource,
ArchivePath targetPath) |
T |
addAsModule(File resource,
String targetPath) |
T |
addAsModule(String resourceName) |
T |
addAsModule(String resourceName,
ArchivePath targetPath) |
T |
addAsModule(String resourceName,
String targetPath) |
T |
addAsModule(URL resource,
ArchivePath targetPath) |
T |
addAsModule(URL resource,
String targetPath) |
T |
addAsModules(Archive<?>... archives) |
T |
addAsModules(File... resources) |
T |
addAsModules(String... resourceNames) |
protected abstract ArchivePath |
getApplicationPath()
Should be implemented to set the path for Application related resources.
|
protected abstract ArchivePath |
getModulePath()
Should be implemented to set the path for Module related resources.
|
T |
setApplicationXML(Asset resource) |
T |
setApplicationXML(File resource) |
T |
setApplicationXML(Package resourcePackage,
String resourceName) |
T |
setApplicationXML(String resourceName) |
T |
setApplicationXML(URL resource) |
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, 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, toString, toString, toString, writeTo
as, getArchive
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
as
protected abstract ArchivePath getApplicationPath()
public T setApplicationXML(String resourceName) throws IllegalArgumentException
setApplicationXML
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T setApplicationXML(File resource) throws IllegalArgumentException
setApplicationXML
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T setApplicationXML(URL resource) throws IllegalArgumentException
setApplicationXML
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T setApplicationXML(Asset resource) throws IllegalArgumentException
setApplicationXML
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T setApplicationXML(Package resourcePackage, String resourceName) throws IllegalArgumentException
setApplicationXML
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(String resourceName) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(File resource) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(String resourceName, String target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(File resource, String target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(URL resource, String target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(Asset resource, String target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(String resourceName, ArchivePath target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(File resource, ArchivePath target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(URL resource, ArchivePath target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(Asset resource, ArchivePath target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResources(Package resourcePackage, String... resourceNames) throws IllegalArgumentException
addAsApplicationResources
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(Package resourcePackage, String resourceName) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(Package resourcePackage, String resourceName, String target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsApplicationResource(Package resourcePackage, String resourceName, ArchivePath target) throws IllegalArgumentException
addAsApplicationResource
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
protected abstract ArchivePath getModulePath()
public T addAsModule(Archive<?> archive) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
EnterpriseContainer.addAsModule(org.jboss.shrinkwrap.api.Archive)
public T addAsModule(String resourceName)
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
EnterpriseContainer.addAsModule(java.lang.String)
public T addAsModule(File resource) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModules(Archive<?>... archives) throws IllegalArgumentException
addAsModules
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
EnterpriseContainer.addAsModules(org.jboss.shrinkwrap.api.Archive<?>[])
public T addAsModules(String... resourceNames) throws IllegalArgumentException
addAsModules
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
EnterpriseContainer.addAsModules(java.lang.String[])
public T addAsModules(File... resources) throws IllegalArgumentException
addAsModules
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
EnterpriseContainer.addAsModules(java.io.File[])
public T addAsModule(File resource, ArchivePath targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModule(String resourceName, ArchivePath targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModule(URL resource, ArchivePath targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModule(File resource, String targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModule(Asset resource, String targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModule(String resourceName, String targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModule(URL resource, String targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
public T addAsModule(Asset resource, ArchivePath targetPath) throws IllegalArgumentException
addAsModule
in interface EnterpriseContainer<T extends Archive<T>>
IllegalArgumentException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.