ShrinkWrap Implementation Base 1.1.0-alpha-2

org.jboss.shrinkwrap.impl.base
Class MemoryMapArchiveImpl

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.ArchiveBase<T>
      extended by org.jboss.shrinkwrap.impl.base.MemoryMapArchiveBase<MemoryMapArchive>
          extended by 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

Constructor Summary
MemoryMapArchiveImpl(Configuration configuration)
          Constructor This constructor will generate a unique Archive.getName() per instance.
MemoryMapArchiveImpl(String archiveName, Configuration configuration)
          Constructor This constructor will generate an Archive with the provided name.
 
Method Summary
 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, get, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getConfiguration, getName, hashCode, merge, merge, merge, merge, merge, merge, move, move, 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, get, get, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getName, merge, merge, merge, merge, merge, merge, move, move, 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 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
Method Detail

getActualClass

public Class<MemoryMapArchive> getActualClass()
Exposes the actual class used in casting

Specified by:
getActualClass in class ArchiveBase<MemoryMapArchive>
Returns:
See Also:
ArchiveBase.getActualClass()

ShrinkWrap Implementation Base 1.1.0-alpha-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.