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, MemoryMapArchive
public class MemoryMapArchiveImpl
- extends MemoryMapArchiveBase<MemoryMapArchive>
- implements MemoryMapArchive
MemoryMapArchiveImpl
A default implementation for all MemoryMap archives. Thread-safe.
- Version:
- $Revision: $
- Author:
- John Bailey
Methods inherited from class org.jboss.shrinkwrap.impl.base.MemoryMapArchiveBase |
add, add, add, addAsDirectory, 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, get, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getConfiguration, getName, hashCode, merge, merge, merge, merge, merge, merge, toString, toString, toString, writeTo |
Methods inherited from interface org.jboss.shrinkwrap.api.Archive |
add, add, add, add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, addAsDirectory, contains, contains, delete, delete, get, get, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getName, merge, merge, merge, merge, merge, merge, toString, toString, toString, writeTo |
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable |
as |
MemoryMapArchiveImpl
public MemoryMapArchiveImpl(Configuration configuration)
throws IllegalArgumentException
- Constructor
This 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
- Constructor
This constructor will generate an
Archive
with the provided name.
- Parameters:
archiveName
- configuration
- The configuration for this archive
- Throws:
IllegalArgumentException
- If the name or configuration is not specified
getActualClass
protected Class<MemoryMapArchive> getActualClass()
- Returns the actual typed class for this instance, used in safe casting
for covariant return types
- Specified by:
getActualClass
in class ArchiveBase<MemoryMapArchive>
- Returns:
- See Also:
ArchiveBase.getActualClass()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.