com.sun.enterprise.deployment.archivist
Class ConnectorArchivist
java.lang.Object
com.sun.enterprise.deployment.archivist.Archivist<ConnectorDescriptor>
com.sun.enterprise.deployment.archivist.ConnectorArchivist
@Service
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class ConnectorArchivist
- extends Archivist<ConnectorDescriptor>
This class is responsible for handling J2EE Connector archive files.
- Version:
- Author:
- Sheetal Vartak
| 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 |
| Methods inherited from class com.sun.enterprise.deployment.archivist.Archivist |
addFileToArchive, applyRuntimeInfo, containsRuntimeDeploymentDescriptors, copyAnEntry, copyExtraElements, copyInto, copyInto, copyInto, copyInto, copyInto, copyJarElements, copyStandardDeploymentDescriptors, createModuleDescriptor, extractEntry, getAnnotationErrorHandler, getClassLoader, getClassPath, getDeploymentDescriptorPath, getDescriptor, getLibraries, getListOfFilesToSkip, getManifest, getPath, getRuntimeDeploymentDescriptorPath, getRuntimeXMLValidation, getRuntimeXMLValidationLevel, getScanner, getSunConfigurationDDFile, getTempFile, getTempFile, getUniqueEntryFilenameFor, getWebServicesDDFile, getWebServicesDeploymentDescriptorPath, getWLConfigurationDDFile, getXMLValidation, getXMLValidationLevel, handles, hasRuntimeDeploymentDescriptor, hasStandardDeploymentDescriptor, initializeContext, isAnnotationProcessingRequested, isHandlingRuntimeInfo, isProcessAnnotation, open, open, open, open, open, open, openWith, performOptionalPkgDependenciesCheck, postAnnotationProcess, postRuntimeDDsRead, postStandardDDsRead, printDescriptor, processAnnotations, processAnnotations, readAnnotations, readAnnotations, readMetaInfo, readRuntimeDDFromDeploymentPlan, readRuntimeDDFromDeploymentPlan, readRuntimeDeploymentDescriptor, readRuntimeDeploymentDescriptor, readStandardDeploymentDescriptor, renameTmp, saveRuntimeInfo, setAnnotationErrorHandler, setAnnotationProcessingRequested, setArchiveUri, setClassLoader, setClassPath, setDescriptor, setHandleRuntimeInfo, setManifest, setModuleDescriptor, setRuntimeXMLValidation, setRuntimeXMLValidationLevel, setXMLValidation, setXMLValidationLevel, supportsModuleType, write, write, write, write, writeContents, writeContents, writeContents, writeDeploymentDescriptors, writeExtraDeploymentDescriptors, writeRuntimeDeploymentDescriptors, writeRuntimeDeploymentDescriptors, writeStandardDeploymentDescriptors, writeStandardDeploymentDescriptors, writeWebServicesDescriptors, writeWLRuntimeDeploymentDescriptors |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorArchivist
public ConnectorArchivist()
getModuleType
public XModuleType getModuleType()
- Specified by:
getModuleType in class Archivist<ConnectorDescriptor>
- Returns:
- the module type handled by this archivist
as defined in the application DTD
getStandardDDFile
public DeploymentDescriptorFile getStandardDDFile()
- Specified by:
getStandardDDFile in class Archivist<ConnectorDescriptor>
- Returns:
- the DeploymentDescriptorFile responsible for handling
standard deployment descriptor
getConfigurationDDFile
public DeploymentDescriptorFile getConfigurationDDFile()
- Specified by:
getConfigurationDDFile in class Archivist<ConnectorDescriptor>
- Returns:
- if exists the DeploymentDescriptorFile responsible for
handling the configuration deployment descriptors
getDefaultBundleDescriptor
public ConnectorDescriptor getDefaultBundleDescriptor()
- Specified by:
getDefaultBundleDescriptor in class Archivist<ConnectorDescriptor>
- Returns:
- a default BundleDescriptor for this archivist
postHandles
protected boolean postHandles(ReadableArchive abstractArchive)
throws java.io.IOException
- Specified by:
postHandles in class Archivist<ConnectorDescriptor>
- Returns:
- true if the archivist is handling the provided archive
- Throws:
java.io.IOException
getArchiveExtension
protected java.lang.String getArchiveExtension()
- Specified by:
getArchiveExtension in class Archivist<ConnectorDescriptor>
- Returns:
- The archive extension handled by a specific archivist
postOpen
protected void postOpen(ConnectorDescriptor descriptor,
ReadableArchive archive)
throws java.io.IOException
- perform any post deployment descriptor reading action
- Overrides:
postOpen in class Archivist<ConnectorDescriptor>
- Parameters:
descriptor - the deployment descriptor for the modulearchive - the module archive
- Throws:
java.io.IOException
validate
public 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
- Overrides:
validate in class Archivist<ConnectorDescriptor>
Copyright © 2012 GlassFish Community. All Rights Reserved.