Uses of Interface
org.jboss.shrinkwrap.api.asset.Asset
-
-
Uses of Asset in org.jboss.shrinkwrap.api
Methods in org.jboss.shrinkwrap.api that return Asset Modifier and Type Method Description Asset
ArchiveEvent. getAsset()
Asset
Node. getAsset()
Asset
ArchiveEvent. getHandledAsset()
Methods in org.jboss.shrinkwrap.api with parameters of type Asset Modifier and Type Method Description T
Archive. add(Asset asset, String target)
Adds the specified resource under the context denoted by the specified targetT
Archive. add(Asset asset, String target, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
Archive. add(Asset asset, ArchivePath target)
Adds the specified asset under the specified path into the target contextT
Archive. add(Asset asset, ArchivePath target, String name)
Adds the specified asset under the specified target (directory) using the specified name.void
ArchiveEvent. setHandledAsset(Asset handledAsset)
Constructors in org.jboss.shrinkwrap.api with parameters of type Asset Constructor Description ArchiveEvent(ArchivePath path, Asset asset)
-
Uses of Asset in org.jboss.shrinkwrap.api.asset
Subinterfaces of Asset in org.jboss.shrinkwrap.api.asset Modifier and Type Interface Description interface
NamedAsset
Pluggable separation between an Asset and a default name used to add Assets into an archive without having to explicitly supply the name (ArchivePath
) each time.Classes in org.jboss.shrinkwrap.api.asset that implement Asset Modifier and Type Class Description class
ArchiveAsset
AnAsset
representing anArchive
; a specifiedStreamExporter
type will be used to fulfill theopenStream()
contract.class
ByteArrayAsset
Implementation of anAsset
backed by a byte arrayclass
ClassAsset
class
ClassLoaderAsset
ClassloaderAsset Implementation of aAsset
backed by a resource located in the Classloader.class
EmptyAsset
Implementation of aAsset
having empty content.class
FileAsset
class
StringAsset
Implementation of anAsset
backed by a Stringclass
UrlAsset
-
Uses of Asset in org.jboss.shrinkwrap.api.container
Methods in org.jboss.shrinkwrap.api.container with parameters of type Asset Modifier and Type Method Description T
EnterpriseContainer. addAsApplicationResource(Asset resource, String target)
T
EnterpriseContainer. addAsApplicationResource(Asset resource, ArchivePath target)
T
LibraryContainer. addAsLibrary(Asset resource, String target)
Adds theAsset
as a library to the container, returning the container itself.T
LibraryContainer. addAsLibrary(Asset resource, ArchivePath target)
Adds theAsset
as a library to the container, returning the container itself.T
ManifestContainer. addAsManifestResource(Asset resource, String target)
Adds theAsset
as a Manifest resource to the container, returning the container itself.T
ManifestContainer. addAsManifestResource(Asset resource, ArchivePath target)
Adds theAsset
as a Manifest resource to the container, returning the container itself.T
EnterpriseContainer. addAsModule(Asset resource, String targetPath)
T
EnterpriseContainer. addAsModule(Asset resource, ArchivePath targetPath)
T
ResourceContainer. addAsResource(Asset resource, String target)
Adds theAsset
as a resource to the container, returning the container itself.T
ResourceContainer. addAsResource(Asset resource, ArchivePath target)
Adds theAsset
as a resource to the container, returning the container itself.T
WebContainer. addAsWebInfResource(Asset resource, String target)
Adds theAsset
as a WEB-INF resource to the container, returning the container itself.T
WebContainer. addAsWebInfResource(Asset resource, ArchivePath target)
Adds theAsset
as a WEB-INF resource to the container, returning the container itself.T
WebContainer. addAsWebResource(Asset resource, String target)
Adds theAsset
as a Web resource to the container, returning the container itself.T
WebContainer. addAsWebResource(Asset resource, ArchivePath target)
Adds theAsset
as a Web resource to the container, returning the container itself.T
EnterpriseContainer. setApplicationXML(Asset resource)
T
ManifestContainer. setManifest(Asset resource)
Adds theAsset
as MANIFEST.FM to the container, returning the container itself.T
ResourceAdapterContainer. setResourceAdapterXML(Asset resource)
Adds theAsset
as ra.xml to the container, returning the container itself.T
WebContainer. setWebXML(Asset resource)
Adds theAsset
as web.xml to the container, returning the container itself. -
Uses of Asset in org.jboss.shrinkwrap.api.nio.file
Classes in org.jboss.shrinkwrap.api.nio.file that implement Asset Modifier and Type Class Description class
MemoryAsset
AnAsset
implementation backed by an internal memory representation; able to be directly added to anArchive
, and supports all operations designated by the NIO.2SeekableByteChannel
API.class
MemoryNamedAsset
MemoryAsset
implementation complying to theNamedAsset
API; thread-safe. -
Uses of Asset in org.jboss.shrinkwrap.impl.base
Methods in org.jboss.shrinkwrap.impl.base that return Asset Modifier and Type Method Description Asset
NodeImpl. getAsset()
Methods in org.jboss.shrinkwrap.impl.base with parameters of type Asset Modifier and Type Method Description T
ArchiveBase. add(Asset asset, String target)
Adds the specified resource under the context denoted by the specified targetT
ArchiveBase. add(Asset asset, String target, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
ArchiveBase. add(Asset asset, ArchivePath path, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
MemoryMapArchiveBase. add(Asset asset, ArchivePath path)
Adds the specified asset under the specified path into the target contextvoid
URLPackageScanner.Callback. classFound(String className, Asset asset)
Called for each found class.Constructors in org.jboss.shrinkwrap.impl.base with parameters of type Asset Constructor Description NodeImpl(ArchivePath path, Asset asset)
Constructor This constructor will create an asset Node with the specified path. -
Uses of Asset in org.jboss.shrinkwrap.impl.base.asset
Classes in org.jboss.shrinkwrap.impl.base.asset that implement Asset Modifier and Type Class Description class
ServiceProviderAsset
ServiceProviderAssetclass
ZipFileEntryAsset
Holds a reference to the ZipFile and the ZipEntry this Asset represents for lazy loading. -
Uses of Asset in org.jboss.shrinkwrap.impl.base.container
Methods in org.jboss.shrinkwrap.impl.base.container with parameters of type Asset Modifier and Type Method Description T
ContainerBase. add(Asset asset, String name)
Adds the specified resource under the context denoted by the specified targetT
ContainerBase. add(Asset asset, String target, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
ContainerBase. add(Asset asset, ArchivePath target)
Adds the specified asset under the specified path into the target contextT
ContainerBase. add(Asset asset, ArchivePath path, String name)
Adds the specified asset under the specified target (directory) using the specified name.T
EnterpriseContainerBase. addAsApplicationResource(Asset resource, String target)
T
EnterpriseContainerBase. addAsApplicationResource(Asset resource, ArchivePath target)
T
ContainerBase. addAsLibrary(Asset resource, String target)
T
ContainerBase. addAsLibrary(Asset resource, ArchivePath target)
T
ContainerBase. addAsManifestResource(Asset resource, String target)
T
ContainerBase. addAsManifestResource(Asset resource, ArchivePath target)
T
EnterpriseContainerBase. addAsModule(Asset resource, String targetPath)
T
EnterpriseContainerBase. addAsModule(Asset resource, ArchivePath targetPath)
T
ContainerBase. addAsResource(Asset resource, String target)
T
ContainerBase. addAsResource(Asset resource, ArchivePath target)
T
WebContainerBase. addAsWebInfResource(Asset resource, String target)
Adds theAsset
as a WEB-INF resource to the container, returning the container itself.T
WebContainerBase. addAsWebInfResource(Asset resource, ArchivePath target)
Adds theAsset
as a WEB-INF resource to the container, returning the container itself.T
WebContainerBase. addAsWebResource(Asset resource, String target)
T
WebContainerBase. addAsWebResource(Asset resource, ArchivePath target)
Adds theAsset
as a Web resource to the container, returning the container itself.T
EnterpriseContainerBase. setApplicationXML(Asset resource)
T
ContainerBase. setManifest(Asset resource)
Adds theAsset
as MANIFEST.FM to the container, returning the container itself.T
ResourceAdapterContainerBase. setResourceAdapterXML(Asset resource)
T
WebContainerBase. setWebXML(Asset resource)
-
Uses of Asset in org.jboss.shrinkwrap.impl.base.exporter
Methods in org.jboss.shrinkwrap.impl.base.exporter with parameters of type Asset Modifier and Type Method Description protected abstract void
AbstractOnDemandInputStream. putNextEntry(T outputStream, String context, Asset asset)
Writes the next entry (demarcates a new file/folder is to be written).
-