ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base
Class GenericArchiveImpl

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
      extended by org.jboss.shrinkwrap.impl.base.container.ContainerBase<GenericArchive>
          extended by org.jboss.shrinkwrap.impl.base.GenericArchiveImpl
All Implemented Interfaces:
Archive<GenericArchive>, Assignable, ClassContainer<GenericArchive>, LibraryContainer<GenericArchive>, ManifestContainer<GenericArchive>, ResourceContainer<GenericArchive>, ServiceProviderContainer<GenericArchive>, GenericArchive, ArchiveFormatAssociable

public class GenericArchiveImpl
extends ContainerBase<GenericArchive>
implements GenericArchive

Implementation of a GenericArchive

Author:
ALR

Field Summary
 
Fields inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
DEFAULT_MANIFEST_NAME
 
Constructor Summary
GenericArchiveImpl(Archive<?> delegate)
          Creates a new instance
 
Method Summary
protected  ArchivePath getClassesPath()
          Should be implemented to set the path for Class related resources.
protected  ArchivePath getLibraryPath()
          Should be implemented to set the path for Library related resources.
protected  ArchivePath getManifestPath()
          Should be implemented to set the path for Manifest related resources.
protected  ArchivePath getResourcePath()
          Should be implemented to set the path for Resource related resources.
 
Methods inherited from class org.jboss.shrinkwrap.impl.base.container.ContainerBase
add, add, add, add, add, add, add, addAsDirectories, addAsDirectories, addAsDirectory, addAsDirectory, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResources, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResources, addAsServiceProvider, addAsServiceProviderAndClasses, addClass, addClass, addClass, addClasses, addDefaultPackage, addManifest, addPackage, addPackage, addPackages, addPackages, addPackages, addPackages, contains, contains, covarientReturn, delete, delete, equals, get, get, getActualClass, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getName, hashCode, merge, merge, merge, merge, merge, merge, setManifest, setManifest, setManifest, setManifest, setManifest, toString, toString, toString, writeTo
 
Methods inherited from class org.jboss.shrinkwrap.impl.base.AssignableBase
as, getArchive
 
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, 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
 

Constructor Detail

GenericArchiveImpl

public GenericArchiveImpl(Archive<?> delegate)
Creates a new instance

Parameters:
delegate - The storage backing.
Method Detail

getClassesPath

protected ArchivePath getClassesPath()
Should be implemented to set the path for Class related resources.

Specified by:
getClassesPath in class ContainerBase<GenericArchive>
Returns:
Base Path for the ClassContainer resources
See Also:
ContainerBase.getClassesPath()

getLibraryPath

protected ArchivePath getLibraryPath()
Should be implemented to set the path for Library related resources.

Specified by:
getLibraryPath in class ContainerBase<GenericArchive>
Returns:
Base Path for the LibraryContainer resources
See Also:
ContainerBase.getLibraryPath()

getManifestPath

protected ArchivePath getManifestPath()
Should be implemented to set the path for Manifest related resources.

Specified by:
getManifestPath in class ContainerBase<GenericArchive>
Returns:
Base Path for the ManifestContainer resources
See Also:
ContainerBase.getManifestPath()

getResourcePath

protected ArchivePath getResourcePath()
Should be implemented to set the path for Resource related resources.

Specified by:
getResourcePath in class ContainerBase<GenericArchive>
Returns:
Base Path for the ResourceContainer resources
See Also:
ContainerBase.getResourcePath()

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.