Class MemoryMapArchiveImpl
java.lang.Object
org.jboss.shrinkwrap.impl.base.ArchiveBase<MemoryMapArchive>
org.jboss.shrinkwrap.impl.base.MemoryMapArchiveBase<MemoryMapArchive>
org.jboss.shrinkwrap.impl.base.MemoryMapArchiveImpl
- 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
ConstructorsConstructorDescriptionMemoryMapArchiveImpl(String archiveName, Configuration configuration) ConstructorMemoryMapArchiveImpl(Configuration configuration) Constructor -
Method Summary
Modifier and TypeMethodDescriptionExposes the actual class used in castingMethods inherited from class MemoryMapArchiveBase
add, add, add, addAsDirectory, addHandlers, contains, contains, delete, delete, get, getContent, getContentMethods inherited from class 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, writeToMethods inherited from interface 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, writeToMethods inherited from interface Assignable
as
-
Constructor Details
-
MemoryMapArchiveImpl
ConstructorThis constructor will generate a unique
Archive.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 ConstructorThis constructor will generate an
Archivewith the provided name.- Parameters:
archiveName- The name of the archive. Must not benullor empty.configuration- The configuration for this archive- Throws:
IllegalArgumentException- If the name or configuration is not specified
-
-
Method Details
-
getActualClass
Exposes the actual class used in casting- Specified by:
getActualClassin classArchiveBase<MemoryMapArchive>- See Also:
-