@Service @PerLookup public class WebArchivist extends Archivist<WebBundleDescriptorImpl>
annotationProcessingRequested, APPCLIENT_EXTENSION, APPLICATION_EXTENSION, classLoader, confDDFiles, CONNECTOR_EXTENSION, descriptor, EJB_EXTENSION, extensionsArchivists, habitat, handleRuntimeInfo, locator, manifest, MANIFEST_VERSION_VALUE, path, standardDD, UPLOAD_EXTENSION, WEB_EXTENSION, WEB_FRAGMENT_EXTENSION| Constructor and Description |
|---|
WebArchivist() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getArchiveExtension() |
List<ConfigurationDeploymentDescriptorFile> |
getConfigurationDDFiles() |
WebBundleDescriptorImpl |
getDefaultBundleDescriptor() |
protected URL |
getDefaultWebXML()
Obtains the location of default-web.xml.
|
WebBundleDescriptorImpl |
getDefaultWebXmlBundleDescriptor() |
Vector<String> |
getLibraries(Archive archive) |
ArchiveType |
getModuleType() |
DeploymentDescriptorFile<WebBundleDescriptorImpl> |
getStandardDDFile() |
protected void |
postAnnotationProcess(WebBundleDescriptorImpl descriptor,
ReadableArchive archive)
perform any action after annotation processed
|
protected boolean |
postHandles(ReadableArchive abstractArchive)
In the case of web archive, the super handles() method should be able
to make a unique identification.
|
protected void |
postOpen(WebBundleDescriptorImpl descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action
|
protected void |
postStandardDDsRead(WebBundleDescriptorImpl descriptor,
ReadableArchive archive,
Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
After reading all the standard deployment descriptors, merge any
resource descriptors from EJB descriptors into the WebBundleDescriptor.
|
void |
setDescriptor(Application descriptor)
Archivist read XML deployment descriptors and keep the
parsed result in the DOL descriptor instances.
|
void |
validate(ClassLoader aClassLoader)
validates the DOL Objects associated with this archivist, usually
it requires that a class loader being set on this archivist or passed
as a parameter
|
addFileToArchive, copyAnEntry, copyExtraElements, copyInto, copyInto, copyInto, copyInto, copyInto, copyJarElements, copyStandardDeploymentDescriptors, createModuleDescriptor, getAllWebservicesDeploymentDescriptorPaths, getAnnotationErrorHandler, getClassLoader, getClassPath, getDeploymentDescriptorPath, getDescriptor, getExtensionArchivists, getListOfFilesToSkip, getManifest, getPath, getRuntimeDeploymentDescriptorPath, getRuntimeXMLValidation, getRuntimeXMLValidationLevel, getScanner, getTempFile, getTempFile, getUniqueEntryFilenameFor, getXMLValidation, getXMLValidationLevel, handles, hasRuntimeDeploymentDescriptor, hasStandardDeploymentDescriptor, initializeContext, isAnnotationProcessingRequested, isHandlingRuntimeInfo, isProcessAnnotation, open, open, open, open, open, open, openWith, performOptionalPkgDependenciesCheck, postRuntimeDDsRead, postValidate, printDescriptor, processAnnotations, processAnnotations, readAnnotations, readAnnotations, readMetaInfo, readRuntimeDeploymentDescriptor, readRuntimeDeploymentDescriptor, readStandardDeploymentDescriptor, renameTmp, setAnnotationErrorHandler, setAnnotationProcessingRequested, setArchiveUri, setClassLoader, setClassPath, setDescriptor, setExtensionArchivists, setHandleRuntimeInfo, setManifest, setModuleDescriptor, setRuntimeXMLValidation, setRuntimeXMLValidationLevel, setXMLValidation, setXMLValidationLevel, write, write, write, write, writeContents, writeContents, writeContents, writeDeploymentDescriptors, writeExtensionDeploymentDescriptors, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptorspublic ArchiveType getModuleType()
getModuleType in class Archivist<WebBundleDescriptorImpl>public void setDescriptor(Application descriptor)
public DeploymentDescriptorFile<WebBundleDescriptorImpl> getStandardDDFile()
getStandardDDFile in class Archivist<WebBundleDescriptorImpl>public List<ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles()
getConfigurationDDFiles in class Archivist<WebBundleDescriptorImpl>public WebBundleDescriptorImpl getDefaultBundleDescriptor()
getDefaultBundleDescriptor in class Archivist<WebBundleDescriptorImpl>public WebBundleDescriptorImpl getDefaultWebXmlBundleDescriptor()
protected void postStandardDDsRead(WebBundleDescriptorImpl descriptor, ReadableArchive archive, Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions) throws IOException
postStandardDDsRead in class Archivist<WebBundleDescriptorImpl>descriptor - the deployment descriptor for the modulearchive - the module archiveextensions - map of extension archivistsIOExceptionprotected URL getDefaultWebXML() throws IOException
IOExceptionprotected void postOpen(WebBundleDescriptorImpl descriptor, ReadableArchive archive) throws IOException
postOpen in class Archivist<WebBundleDescriptorImpl>descriptor - the deployment descriptor for the modulearchive - the module archiveIOExceptionpublic void validate(ClassLoader aClassLoader)
validate in class Archivist<WebBundleDescriptorImpl>protected boolean postHandles(ReadableArchive abstractArchive) throws IOException
postHandles in class Archivist<WebBundleDescriptorImpl>IOExceptionprotected String getArchiveExtension()
getArchiveExtension in class Archivist<WebBundleDescriptorImpl>public Vector<String> getLibraries(Archive archive)
getLibraries in class Archivist<WebBundleDescriptorImpl>protected void postAnnotationProcess(WebBundleDescriptorImpl descriptor, ReadableArchive archive) throws IOException
ArchivistpostAnnotationProcess in class Archivist<WebBundleDescriptorImpl>descriptor - the deployment descriptor for the modulearchive - the module archiveIOExceptionCopyright © 2019. All rights reserved.