Class ResourceAdapterArchiveImpl
- java.lang.Object
-
- org.jboss.shrinkwrap.impl.base.AssignableBase<Archive<?>>
-
- org.jboss.shrinkwrap.impl.base.container.ContainerBase<T>
-
- org.jboss.shrinkwrap.impl.base.container.ResourceAdapterContainerBase<ResourceAdapterArchive>
-
- org.jboss.shrinkwrap.impl.base.spec.ResourceAdapterArchiveImpl
-
- All Implemented Interfaces:
Archive<ResourceAdapterArchive>
,Assignable
,ClassContainer<ResourceAdapterArchive>
,LibraryContainer<ResourceAdapterArchive>
,ManifestContainer<ResourceAdapterArchive>
,ResourceAdapterContainer<ResourceAdapterArchive>
,ResourceContainer<ResourceAdapterArchive>
,ServiceProviderContainer<ResourceAdapterArchive>
,ResourceAdapterArchive
,ArchiveFormatAssociable
public class ResourceAdapterArchiveImpl extends ResourceAdapterContainerBase<ResourceAdapterArchive> implements ResourceAdapterArchive
ResourceAdapterArchiveImpl- Version:
- $Revision: $
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
log
private static ArchivePath
PATH_LIBRARY
Path to the application libraries.private static ArchivePath
PATH_MANIFEST
Path to the manifests inside of the Archive.private static ArchivePath
PATH_RESOURCE
Path to the resources inside of the Archive.-
Fields inherited from interface org.jboss.shrinkwrap.api.container.ManifestContainer
DEFAULT_MANIFEST_NAME
-
-
Constructor Summary
Constructors Constructor Description ResourceAdapterArchiveImpl(Archive<?> delegate)
Create a new ResourceAdapterArchive with any type storage engine as backing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ArchivePath
getClassesPath()
Classes are not supported by ResourceAdapterArchive.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.ResourceAdapterContainerBase
setResourceAdapterXML, setResourceAdapterXML, setResourceAdapterXML, setResourceAdapterXML, setResourceAdapterXML
-
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, addAsServiceProvider, addAsServiceProviderAndClasses, addClass, addClass, addClass, addClasses, addDefaultPackage, addHandlers, addManifest, addPackage, addPackage, addPackages, addPackages, addPackages, addPackages, contains, contains, covarientReturn, delete, delete, deleteClass, deleteClass, deleteClasses, deleteDefaultPackage, deletePackage, deletePackage, deletePackages, deletePackages, deletePackages, deletePackages, equals, filter, get, get, getActualClass, getArchiveFormat, getAsType, getAsType, getAsType, getAsType, getAsType, getAsType, getContent, getContent, getId, getName, hashCode, merge, merge, merge, merge, merge, merge, move, move, setManifest, setManifest, setManifest, setManifest, setManifest, shallowCopy, shallowCopy, 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, 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, writeTo
-
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
-
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.ManifestContainer
addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResource, addAsManifestResources, addAsServiceProvider, addAsServiceProvider, addManifest, setManifest, setManifest, setManifest, setManifest, setManifest
-
Methods inherited from interface org.jboss.shrinkwrap.api.container.ResourceAdapterContainer
setResourceAdapterXML, setResourceAdapterXML, setResourceAdapterXML, setResourceAdapterXML, setResourceAdapterXML
-
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
-
-
-
-
Field Detail
-
log
private static final java.util.logging.Logger log
-
PATH_MANIFEST
private static final ArchivePath PATH_MANIFEST
Path to the manifests inside of the Archive.
-
PATH_RESOURCE
private static final ArchivePath PATH_RESOURCE
Path to the resources inside of the Archive.
-
PATH_LIBRARY
private static final ArchivePath PATH_LIBRARY
Path to the application libraries.
-
-
Constructor Detail
-
ResourceAdapterArchiveImpl
public ResourceAdapterArchiveImpl(Archive<?> delegate)
Create a new ResourceAdapterArchive 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 classContainerBase<ResourceAdapterArchive>
- 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 classContainerBase<ResourceAdapterArchive>
- 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 classContainerBase<ResourceAdapterArchive>
- Returns:
- Base Path for the ManifestContainer resources
-
getClassesPath
protected ArchivePath getClassesPath()
Classes are not supported by ResourceAdapterArchive.- Specified by:
getClassesPath
in classContainerBase<ResourceAdapterArchive>
- Returns:
- Base Path for the ClassContainer resources
- Throws:
java.lang.UnsupportedOperationException
- ResourceAdapterArchive does not support classes
-
-