Package org.glassfish.web.embed.impl
Class EmbeddedWebArchivist
- java.lang.Object
-
- com.sun.enterprise.deployment.archivist.Archivist<WebBundleDescriptorImpl>
-
- org.glassfish.web.deployment.archivist.WebArchivist
-
- org.glassfish.web.embed.impl.EmbeddedWebArchivist
-
@Service @PerLookup public class EmbeddedWebArchivist extends WebArchivist
- Author:
- Jerome Dochez
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.archivist.Archivist
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 Summary
Constructors Constructor Description EmbeddedWebArchivist()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URLgetDefaultWebXML()Obtains the location of default-web.xml.protected ProcessingResultprocessAnnotations(RootDeploymentDescriptor bundleDesc, ModuleScanner scanner, ReadableArchive archive)Process annotations in a bundle descriptor, the annotation processing is dependent on the type of descriptor being passed.protected voidsetDefaultWebXml(URL defaultWebXml)-
Methods inherited from class org.glassfish.web.deployment.archivist.WebArchivist
getArchiveExtension, getConfigurationDDFiles, getDefaultBundleDescriptor, getDefaultWebXmlBundleDescriptor, getLibraries, getModuleType, getStandardDDFile, postAnnotationProcess, postHandles, postOpen, postStandardDDsRead, setDescriptor, validate
-
Methods inherited from class com.sun.enterprise.deployment.archivist.Archivist
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, 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, writeStandardDeploymentDescriptors
-
-
-
-
Method Detail
-
setDefaultWebXml
protected void setDefaultWebXml(URL defaultWebXml)
-
getDefaultWebXML
protected URL getDefaultWebXML() throws IOException
Description copied from class:WebArchivistObtains the location of default-web.xml. This allows subclasses to load the file from elsewhere.- Overrides:
getDefaultWebXMLin classWebArchivist- Returns:
- null if not found, in which case the default web.xml will not be read and web.xml in the applications need to have everything.
- Throws:
IOException
-
processAnnotations
protected ProcessingResult processAnnotations(RootDeploymentDescriptor bundleDesc, ModuleScanner scanner, ReadableArchive archive) throws AnnotationProcessorException, IOException
Description copied from class:ArchivistProcess annotations in a bundle descriptor, the annotation processing is dependent on the type of descriptor being passed.- Overrides:
processAnnotationsin classArchivist<WebBundleDescriptorImpl>- Throws:
AnnotationProcessorExceptionIOException
-
-