|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.archivist.Archivist<ApplicationClientDescriptor>
com.sun.enterprise.deployment.archivist.AppClientArchivist
com.sun.enterprise.deployment.archivist.ACCAppClientArchivist
@Service @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public class ACCAppClientArchivist
AppClientArchivist that does not warn if both the GlassFish and the legacy Sun runtime descriptors are present.
The ACC uses a MultiReadableArchive to essentially merge the contents of the generated app client JAR with the developer's original app client JAR. The generated file contains a generated GlassFish runtime descriptor. If the developer's app client contains a legacy sun-application-client.xml descriptor, then the normal archivist logic would detect that both the GlassFish DD and the developer's legacy sun-application-client.xml were present in the merged contents and it would log a warning.
We prevent such warnings by overriding the method which reads the runtime deployment descriptor.
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.archivist.AppClientArchivist |
|---|
GLASSFISH_ANCHOR_DIR, GLASSFISH_APPCLIENT, GLASSFISH_CLIENT_PU_SCAN_TARGETS_NAME, GLASSFISH_GROUP_FACADE |
| 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 | |
|---|---|
ACCAppClientArchivist()
|
|
| Method Summary | |
|---|---|
void |
readRuntimeDeploymentDescriptor(ReadableArchive archive,
ApplicationClientDescriptor descriptor)
Read the runtime deployment descriptors (can contained in one or many file) set the corresponding information in the passed descriptor. |
| Methods inherited from class com.sun.enterprise.deployment.archivist.AppClientArchivist |
|---|
getArchiveExtension, getConfigurationDDFile, getDefaultBundleDescriptor, getMainClassName, getModuleType, getStandardDDFile, getSunConfigurationDDFile, open, postHandles, postOpen, postStandardDDsRead, runValidations, setDescriptor, validate, writeContents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ACCAppClientArchivist()
| Method Detail |
|---|
public void readRuntimeDeploymentDescriptor(ReadableArchive archive,
ApplicationClientDescriptor descriptor)
throws java.io.IOException,
org.xml.sax.SAXParseException
Archivist
readRuntimeDeploymentDescriptor in class Archivist<ApplicationClientDescriptor>archive - the archivedescriptor - the initialized deployment descriptor
java.io.IOException
org.xml.sax.SAXParseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||