Uses of Interface
org.jboss.shrinkwrap.api.Archive
Packages that use Archive
Package
Description
-
Uses of Archive in org.jboss.shrinkwrap.api
Classes in org.jboss.shrinkwrap.api with type parameters of type ArchiveModifier and TypeInterfaceDescriptioninterfaceRepresents a collection of resources which may be constructed programmatically.Subinterfaces of Archive in org.jboss.shrinkwrap.apiModifier and TypeInterfaceDescriptioninterfaceSimpleArchiveextension which closes the generic context as a convenience to users not requiring any spec archive type.Methods in org.jboss.shrinkwrap.api with type parameters of type ArchiveModifier and TypeMethodDescription<T extends Archive<T>>
ArchiveFormatExtensionLoader.getArchiveFormatFromExtensionMapping(Class<T> extensionClass) Gets theArchiveFormatfor the given type from the extensionMapping<X extends Archive<X>>
XGet a nestedArchiveas a specific type.
The found Archives must have been added as an Archive, no import is performed.<X extends Archive<X>>
XArchive.getAsType(Class<X> type, String path, ArchiveFormat archiveFormat) Get a nestedArchiveas a specific type using the specifiedArchiveFormat<X extends Archive<X>>
XArchive.getAsType(Class<X> type, ArchivePath path) Get a nestedArchiveas a specific type.
The found Archives must have been added as an Archive, no import is performed.<X extends Archive<X>>
XArchive.getAsType(Class<X> type, ArchivePath path, ArchiveFormat archiveFormat) <X extends Archive<X>>
Collection<X> Archive.getAsType(Class<X> type, Filter<ArchivePath> filter) Get all nestedArchivematching the filter as a specific type.
The found Archives must have been added as an Archive, no import is performed.<X extends Archive<X>>
Collection<X> Archive.getAsType(Class<X> type, Filter<ArchivePath> filter, ArchiveFormat archiveFormat) Get all nestedArchivematching the filter as a specific type using the specifiedArchiveFormat.Methods in org.jboss.shrinkwrap.api that return ArchiveModifier and TypeMethodDescriptionArchive.shallowCopy()Creates a shallow copy of thisArchive.Archive.shallowCopy(Filter<ArchivePath> filter) Creates a shallow copy of thisArchivebased on given filter.Methods in org.jboss.shrinkwrap.api with parameters of type ArchiveModifier and TypeMethodDescriptionArchive.add(Archive<?> archive, String path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.Archive.add(Archive<?> archive, ArchivePath path, Class<? extends StreamExporter> exporter) Add an archive under a specific context and maintain the archive name as context path.<T extends Assignable>
TLoad a Extension.Merge the contents from an existing archive without maintaining the archive name in the context path.Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge(Archive<?> source, String path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge(Archive<?> source, ArchivePath path) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge(Archive<?> source, ArchivePath path, Filter<ArchivePath> filter) Merge the contents from an existing archive in a specific path without maintaining the archive name in the context path.Archive.merge(Archive<?> source, Filter<ArchivePath> filter) Merge the contents from an existing archive without maintaining the archive name in the context path. -
Uses of Archive in org.jboss.shrinkwrap.api.asset
Methods in org.jboss.shrinkwrap.api.asset that return ArchiveModifier and TypeMethodDescriptionArchive<?> ArchiveAsset.getArchive()Returns the archive this asset representsConstructors in org.jboss.shrinkwrap.api.asset with parameters of type ArchiveModifierConstructorDescriptionArchiveAsset(Archive<?> archive, Class<? extends StreamExporter> exporter) Creates a new instance wrapping the specifiedArchive, which will use the specifiedStreamExporterto represent the archive as anInputStreaminAsset.openStream(). -
Uses of Archive in org.jboss.shrinkwrap.api.classloader
Constructors in org.jboss.shrinkwrap.api.classloader with parameters of type ArchiveModifierConstructorDescriptionShrinkWrapClassLoader(ClassLoader parent, String classPrefix, Archive<?>... archives) Constructs a new ShrinkWrapClassLoader for the givenArchives.ShrinkWrapClassLoader(ClassLoader parent, Archive<?>... archives) Constructs a new ShrinkWrapClassLoader for the givenArchives.ShrinkWrapClassLoader(Archive<?>... archives) Constructs a new ShrinkWrapClassLoader for the specifiedArchives using the default delegation parentClassLoader. -
Uses of Archive in org.jboss.shrinkwrap.api.container
Classes in org.jboss.shrinkwrap.api.container with type parameters of type ArchiveModifier and TypeInterfaceDescriptioninterfaceClassContainer<T extends Archive<T>>Defines the contract for a component capable of storing Java Classes.interfaceEnterpriseContainer<T extends Archive<T>>Defines the contract for a component capable of storing Enterprise related resources.interfaceLibraryContainer<T extends Archive<T>>Defines the contract for a component capable of storing Libraries.interfaceManifestContainer<T extends Archive<T>>Defines the contract for a component capable of storing Manifest related resources.interfaceResourceAdapterContainer<T extends Archive<T>>Defines the contract for a component capable of storing Resource adapter resources.interfaceResourceContainer<T extends Archive<T>>Defines the contract for a component capable of storing a series ofClassLoader,File, andURL-based Assets as resources within an archive.interfaceServiceProviderContainer<T extends Archive<T>>Defines the contract for a component capable of storing service provider related resources.interfaceWebContainer<T extends Archive<T>>Defines the contract for a component capable of storing web-related resources.Methods in org.jboss.shrinkwrap.api.container with parameters of type ArchiveModifier and TypeMethodDescriptionLibraryContainer.addAsLibraries(Archive<?>... archives) LibraryContainer.addAsLibraries(Archive<?>[]... archives) LibraryContainer.addAsLibrary(Archive<?> archive) EnterpriseContainer.addAsModule(Archive<?> archive) Adds an archive to thisArchives module context.EnterpriseContainer.addAsModules(Archive<?>... archives) Adds the specified archives to thisArchives module context.Method parameters in org.jboss.shrinkwrap.api.container with type arguments of type ArchiveModifier and TypeMethodDescriptionLibraryContainer.addAsLibraries(Collection<? extends Archive<?>> archives) -
Uses of Archive in org.jboss.shrinkwrap.api.formatter
Methods in org.jboss.shrinkwrap.api.formatter with parameters of type Archive -
Uses of Archive in org.jboss.shrinkwrap.api.nio2.file
Methods in org.jboss.shrinkwrap.api.nio2.file with parameters of type ArchiveModifier and TypeMethodDescriptionstatic URIShrinkWrapFileSystems.getRootUri(Archive<?> archive) Constructs a newURIwith the form:static FileSystemShrinkWrapFileSystems.newFileSystem(Archive<?> archive) Creates a new file system for the givenArchive; in effect invoking this method is equal to invokingFileSystems.newFileSystem(URI, Map), passing the value ofShrinkWrapFileSystems.getRootUri(Archive)as theURIand the specified archive as a value in aMapunder the keyShrinkWrapFileSystems.FS_ENV_KEY_ARCHIVE -
Uses of Archive in org.jboss.shrinkwrap.api.spec
Subinterfaces of Archive in org.jboss.shrinkwrap.api.specModifier and TypeInterfaceDescriptioninterfaceTraditional EAR (Java Enterprise Archive) structure.interfaceTraditional JAR (Java Archive) structure.interfaceTraditional RAR (Resource Adapter Archive) structure.interfaceTraditional WAR (Java Web Archive) structure.