Package org.jboss.shrinkwrap.impl.base
Class MemoryMapArchiveImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.ArchiveBase<T>
-
- org.jboss.shrinkwrap.impl.base.MemoryMapArchiveBase<MemoryMapArchive>
-
- org.jboss.shrinkwrap.impl.base.MemoryMapArchiveImpl
-
- Type Parameters:
T
-
- All Implemented Interfaces:
Archive<MemoryMapArchive>
,Assignable
,ArchiveFormatAssociable
,Configurable
,Identifiable
,MemoryMapArchive
public class MemoryMapArchiveImpl extends MemoryMapArchiveBase<MemoryMapArchive> implements MemoryMapArchive
MemoryMapArchiveImpl A default implementation for all MemoryMap archives. Thread-safe.- Version:
- $Revision: $
- Author:
- John Bailey
-
-
Constructor Summary
Constructors Constructor Description MemoryMapArchiveImpl(String archiveName, Configuration configuration)
Constructor This constructor will generate anArchive
with the provided name.MemoryMapArchiveImpl(Configuration configuration)
Constructor This constructor will generate a uniqueArchive.getName()
per instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<MemoryMapArchive>
getActualClass()
Exposes the actual class used in casting-
Methods inherited from class org.jboss.shrinkwrap.impl.base.MemoryMapArchiveBase
add, add, add, addAsDirectory, addHandlers, contains, contains, delete, delete, get, getContent, getContent
-
Methods inherited from class org.jboss.shrinkwrap.impl.base.ArchiveBase
add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, as, covariantReturn, equals, filter, get, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getConfiguration, getId, getName, hashCode, merge, merge, merge, merge, merge, merge, move, move, setId, shallowCopy, shallowCopy, toString, toString, toString, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jboss.shrinkwrap.api.Archive
add, add, add, add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, addAsDirectory, addHandlers, contains, contains, delete, delete, filter, get, get, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getId, getName, merge, merge, merge, merge, merge, merge, move, move, shallowCopy, shallowCopy, toString, toString, toString, writeTo
-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
-
-
-
Constructor Detail
-
MemoryMapArchiveImpl
public MemoryMapArchiveImpl(Configuration configuration) throws IllegalArgumentException
Constructor This constructor will generate a uniqueArchive.getName()
per instance.- Parameters:
configuration
- The configuration for this archive- Throws:
IllegalArgumentException
- If the configuration is not specified
-
MemoryMapArchiveImpl
public MemoryMapArchiveImpl(String archiveName, Configuration configuration) throws IllegalArgumentException
Constructor This constructor will generate anArchive
with the provided name.- Parameters:
archiveName
-configuration
- The configuration for this archive- Throws:
IllegalArgumentException
- If the name or configuration is not specified
-
-
Method Detail
-
getActualClass
public Class<MemoryMapArchive> getActualClass()
Exposes the actual class used in casting- Specified by:
getActualClass
in classArchiveBase<MemoryMapArchive>
- Returns:
- See Also:
ArchiveBase.getActualClass()
-
-