|
||||||||||
| 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
@Service @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public class AppClientArchivist
This class is responsible for handling J2EE app client files.
| Field Summary | |
|---|---|
static java.util.jar.Attributes.Name |
GLASSFISH_ANCHOR_DIR
|
static java.util.jar.Attributes.Name |
GLASSFISH_APPCLIENT
|
static java.util.jar.Attributes.Name |
GLASSFISH_CLIENT_PU_SCAN_TARGETS_NAME
|
static java.util.jar.Attributes.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 | |
|---|---|
AppClientArchivist()
Creates new ApplicationClientArchvisit |
|
| Method Summary | |
|---|---|
protected java.lang.String |
getArchiveExtension()
|
DeploymentDescriptorFile |
getConfigurationDDFile()
|
ApplicationClientDescriptor |
getDefaultBundleDescriptor()
|
java.lang.String |
getMainClassName(java.util.jar.Manifest m)
|
XModuleType |
getModuleType()
|
DeploymentDescriptorFile<ApplicationClientDescriptor> |
getStandardDDFile()
|
DeploymentDescriptorFile |
getSunConfigurationDDFile()
|
ApplicationClientDescriptor |
open(ReadableArchive archive,
java.lang.String mainClassNameToRun)
|
protected boolean |
postHandles(ReadableArchive archive)
|
protected void |
postOpen(ApplicationClientDescriptor descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action |
protected void |
postStandardDDsRead(ApplicationClientDescriptor descriptor,
ReadableArchive archive,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
perform any action after all standard DDs is read |
protected void |
runValidations(ApplicationClientDescriptor acDesc,
ReadableArchive archive)
|
void |
setDescriptor(Application application)
|
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 |
protected void |
writeContents(ReadableArchive in,
WritableArchive out,
java.util.Vector entriesToSkip)
writes the content of an archive to a JarFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.jar.Attributes.Name GLASSFISH_APPCLIENT
public static final java.util.jar.Attributes.Name GLASSFISH_CLIENT_PU_SCAN_TARGETS_NAME
public static final java.util.jar.Attributes.Name GLASSFISH_GROUP_FACADE
public static final java.util.jar.Attributes.Name GLASSFISH_ANCHOR_DIR
| Constructor Detail |
|---|
public AppClientArchivist()
| Method Detail |
|---|
public XModuleType getModuleType()
getModuleType in class Archivist<ApplicationClientDescriptor>
public ApplicationClientDescriptor open(ReadableArchive archive,
java.lang.String mainClassNameToRun)
throws java.io.IOException,
org.xml.sax.SAXParseException
java.io.IOException
org.xml.sax.SAXParseExceptionpublic void setDescriptor(Application application)
public DeploymentDescriptorFile<ApplicationClientDescriptor> getStandardDDFile()
getStandardDDFile in class Archivist<ApplicationClientDescriptor>public DeploymentDescriptorFile getConfigurationDDFile()
getConfigurationDDFile in class Archivist<ApplicationClientDescriptor>public DeploymentDescriptorFile getSunConfigurationDDFile()
getSunConfigurationDDFile in class Archivist<ApplicationClientDescriptor>public ApplicationClientDescriptor getDefaultBundleDescriptor()
getDefaultBundleDescriptor in class Archivist<ApplicationClientDescriptor>public void validate(java.lang.ClassLoader aClassLoader)
validate in class Archivist<ApplicationClientDescriptor>
protected void postStandardDDsRead(ApplicationClientDescriptor descriptor,
ReadableArchive archive,
java.util.Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
throws java.io.IOException
postStandardDDsRead in class Archivist<ApplicationClientDescriptor>descriptor - the deployment descriptor for the modulearchive - the module archiveextensions - map of extension archivists
java.io.IOException
protected void postOpen(ApplicationClientDescriptor descriptor,
ReadableArchive archive)
throws java.io.IOException
postOpen in class Archivist<ApplicationClientDescriptor>descriptor - the deployment descriptor for the modulearchive - the module archive
java.io.IOException
protected void runValidations(ApplicationClientDescriptor acDesc,
ReadableArchive archive)
protected void writeContents(ReadableArchive in,
WritableArchive out,
java.util.Vector entriesToSkip)
throws java.io.IOException
writeContents in class Archivist<ApplicationClientDescriptor>in - the input archiveout - the archive output stream to write toentriesToSkip - the files to not write from the original archive
java.io.IOExceptionpublic java.lang.String getMainClassName(java.util.jar.Manifest m)
protected boolean postHandles(ReadableArchive archive)
throws java.io.IOException
postHandles in class Archivist<ApplicationClientDescriptor>java.io.IOExceptionprotected java.lang.String getArchiveExtension()
getArchiveExtension in class Archivist<ApplicationClientDescriptor>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||