ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

org.jboss.shrinkwrap.impl.base.spec
Class EnterpriseArchiveImpl

java.lang.Object
  extended by org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
      extended by org.jboss.shrinkwrap.impl.base.container.ContainerBase<T>
          extended by org.jboss.shrinkwrap.impl.base.container.EnterpriseContainerBase<EnterpriseArchive>
              extended by org.jboss.shrinkwrap.impl.base.spec.EnterpriseArchiveImpl
All Implemented Interfaces:
Archive<EnterpriseArchive>, Assignable, ClassContainer<EnterpriseArchive>, EnterpriseContainer<EnterpriseArchive>, LibraryContainer<EnterpriseArchive>, ManifestContainer<EnterpriseArchive>, ResourceContainer<EnterpriseArchive>, ServiceProviderContainer<EnterpriseArchive>, EnterpriseArchive, ArchiveFormatAssociable

public class EnterpriseArchiveImpl
extends EnterpriseContainerBase<EnterpriseArchive>
implements EnterpriseArchive

EnterpriseArchiveImpl

Version:
$Revision: $
Author:
Aslak Knutsen

Field Summary
 
Fields inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
DEFAULT_MANIFEST_NAME
 
Constructor Summary
EnterpriseArchiveImpl(Archive<?> delegate)
          Create a new EnterpriseArchive with any type storage engine as backing.
 
Method Summary
protected  ArchivePath getApplicationPath()
          Should be implemented to set the path for Application related resources.
protected  ArchivePath getClassesPath()
          Classes are not supported by EnterpriseArchive.
 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 getModulePath()
          Should be implemented to set the path for Module 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.EnterpriseContainerBase
addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResources, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModules, addAsModules, addAsModules, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML
 
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
 
Methods inherited from interface org.jboss.shrinkwrap.api.container.ResourceContainer
addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResource, addAsResources
 
Methods inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResources, addAsServiceProvider, addManifest, setManifest, setManifest, setManifest, setManifest, setManifest
 
Methods inherited from interface org.jboss.shrinkwrap.api.container.LibraryContainer
addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibraries, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary, addAsLibrary
 
Methods inherited from interface org.jboss.shrinkwrap.api.container.EnterpriseContainer
addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResource, addAsApplicationResources, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModule, addAsModules, addAsModules, addAsModules, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML, setApplicationXML
 

Constructor Detail

EnterpriseArchiveImpl

public EnterpriseArchiveImpl(Archive<?> delegate)
Create a new EnterpriseArchive with any type storage engine as backing.

Parameters:
delegate - The storage backing.
Method Detail

getLibraryPath

public ArchivePath getLibraryPath()
Description copied from class: ContainerBase
Should be implemented to set the path for Library related resources.

Specified by:
getLibraryPath in class ContainerBase<EnterpriseArchive>
Returns:
Base Path for the LibraryContainer resources

getResourcePath

protected ArchivePath getResourcePath()
Description copied from class: ContainerBase
Should be implemented to set the path for Resource related resources.

Specified by:
getResourcePath in class ContainerBase<EnterpriseArchive>
Returns:
Base Path for the ResourceContainer resources

getManifestPath

protected ArchivePath getManifestPath()
Description copied from class: ContainerBase
Should be implemented to set the path for Manifest related resources.

Specified by:
getManifestPath in class ContainerBase<EnterpriseArchive>
Returns:
Base Path for the ManifestContainer resources

getApplicationPath

protected ArchivePath getApplicationPath()
Description copied from class: EnterpriseContainerBase
Should be implemented to set the path for Application related resources.

Specified by:
getApplicationPath in class EnterpriseContainerBase<EnterpriseArchive>
Returns:
Base Path for the EnterpriseContainer application resources

getModulePath

protected ArchivePath getModulePath()
Description copied from class: EnterpriseContainerBase
Should be implemented to set the path for Module related resources.

Specified by:
getModulePath in class EnterpriseContainerBase<EnterpriseArchive>
Returns:
Base Path for the EnterpriseContainer module resources

getClassesPath

protected ArchivePath getClassesPath()
Classes are not supported by EnterpriseArchive.

Specified by:
getClassesPath in class ContainerBase<EnterpriseArchive>
Returns:
Base Path for the ClassContainer resources
Throws:
UnsupportedOperationException - EnterpriseArchive does not support classes

ShrinkWrap Aggregator and Build Parent 1.0.0-cr-1

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