|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.archivist.Archivist<WebBundleDescriptor>
com.sun.enterprise.deployment.archivist.WebArchivist
@Service @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public class WebArchivist
This module is responsible for reading and write web applications archive files (war).
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.archivist.Archivist |
|---|
annotationProcessingRequested, APPCLIENT_EXTENSION, APPLICATION_EXTENSION, classLoader, CONNECTOR_EXTENSION, descriptor, EJB_EXTENSION, handleRuntimeInfo, logger, manifest, MANIFEST_VERSION_VALUE, path, UPLOAD_EXTENSION, WEB_EXTENSION, WEB_FRAGMENT_EXTENSION |
| Constructor Summary | |
|---|---|
WebArchivist()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getArchiveExtension()
|
DeploymentDescriptorFile |
getConfigurationDDFile()
|
WebBundleDescriptor |
getDefaultBundleDescriptor()
|
protected java.net.URL |
getDefaultWebXML()
Obtains the location of default-web.xml. |
WebBundleDescriptor |
getDefaultWebXmlBundleDescriptor()
|
java.util.Vector |
getLibraries(Archive archive)
|
XModuleType |
getModuleType()
|
DeploymentDescriptorFile<WebBundleDescriptor> |
getStandardDDFile()
|
DeploymentDescriptorFile |
getSunConfigurationDDFile()
|
java.lang.String |
getWebServicesDeploymentDescriptorPath()
|
DeploymentDescriptorFile |
getWLConfigurationDDFile()
|
protected void |
postAnnotationProcess(WebBundleDescriptor 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(WebBundleDescriptor descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action |
protected void |
postStandardDDsRead(WebBundleDescriptor descriptor,
ReadableArchive archive,
java.util.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(java.lang.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebArchivist()
| Method Detail |
|---|
public XModuleType getModuleType()
getModuleType in class Archivist<WebBundleDescriptor>public void setDescriptor(Application descriptor)
public java.lang.String getWebServicesDeploymentDescriptorPath()
getWebServicesDeploymentDescriptorPath in class Archivist<WebBundleDescriptor>public DeploymentDescriptorFile<WebBundleDescriptor> getStandardDDFile()
getStandardDDFile in class Archivist<WebBundleDescriptor>public DeploymentDescriptorFile getConfigurationDDFile()
getConfigurationDDFile in class Archivist<WebBundleDescriptor>public DeploymentDescriptorFile getSunConfigurationDDFile()
getSunConfigurationDDFile in class Archivist<WebBundleDescriptor>public DeploymentDescriptorFile getWLConfigurationDDFile()
getWLConfigurationDDFile in class Archivist<WebBundleDescriptor>public WebBundleDescriptor getDefaultBundleDescriptor()
getDefaultBundleDescriptor in class Archivist<WebBundleDescriptor>public WebBundleDescriptor getDefaultWebXmlBundleDescriptor()
protected void postStandardDDsRead(WebBundleDescriptor descriptor,
ReadableArchive archive,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
throws java.io.IOException
postStandardDDsRead in class Archivist<WebBundleDescriptor>descriptor - the deployment descriptor for the modulearchive - the module archiveextensions - map of extension archivists
java.io.IOException
protected java.net.URL getDefaultWebXML()
throws java.io.IOException
java.io.IOException
protected void postOpen(WebBundleDescriptor descriptor,
ReadableArchive archive)
throws java.io.IOException
postOpen in class Archivist<WebBundleDescriptor>descriptor - the deployment descriptor for the modulearchive - the module archive
java.io.IOExceptionpublic void validate(java.lang.ClassLoader aClassLoader)
validate in class Archivist<WebBundleDescriptor>
protected boolean postHandles(ReadableArchive abstractArchive)
throws java.io.IOException
postHandles in class Archivist<WebBundleDescriptor>java.io.IOExceptionprotected java.lang.String getArchiveExtension()
getArchiveExtension in class Archivist<WebBundleDescriptor>public java.util.Vector getLibraries(Archive archive)
getLibraries in class Archivist<WebBundleDescriptor>
protected void postAnnotationProcess(WebBundleDescriptor descriptor,
ReadableArchive archive)
throws java.io.IOException
Archivist
postAnnotationProcess in class Archivist<WebBundleDescriptor>descriptor - the deployment descriptor for the modulearchive - the module archive
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||