FileDocCategorySizeDatePackage
ConnectorArchivist.javaAPI DocGlassfish v2 API4882Fri May 04 22:31:36 BST 2007com.sun.enterprise.deployment.archivist

ConnectorArchivist

public class ConnectorArchivist extends Archivist
This class is responsible for handling J2EE Connector archive files.
author
Sheetal Vartak
version

Fields Summary
com.sun.enterprise.deployment.ConnectorDescriptor
descriptor
com.sun.enterprise.deployment.io.DeploymentDescriptorFile
standardDD
The DeploymentDescriptorFile handlers we are delegating for XML i/o
Constructors Summary
public ConnectorArchivist()
Creates new ConnectorArchvisit

 
    
        
      
    
Methods Summary
protected java.lang.StringgetArchiveExtension()

        return CONNECTOR_EXTENSION;
    
public com.sun.enterprise.deployment.io.DeploymentDescriptorFilegetConfigurationDDFile()

return
if exists the DeploymentDescriptorFile responsible for handling the configuration deployment descriptors

        return new ConnectorRuntimeDDFile();
    
public com.sun.enterprise.deployment.DescriptorgetDefaultBundleDescriptor()

return
a default BundleDescriptor for this archivist

        ConnectorDescriptor connectorDesc = 
            new ConnectorDescriptor();
        return connectorDesc;
    
public com.sun.enterprise.deployment.DescriptorgetDescriptor()

return
the Descriptor for this archvist

        return descriptor;
    
public javax.enterprise.deploy.shared.ModuleTypegetModuleType()

return
the module type handled by this archivist as defined in the application DTD

        return ModuleType.RAR;
    
public com.sun.enterprise.deployment.io.DeploymentDescriptorFilegetStandardDDFile()

return
the DeploymentDescriptorFile responsible for handling standard deployment descriptor

        return standardDD;
    
protected booleanpostHandles(com.sun.enterprise.deployment.deploy.shared.AbstractArchive abstractArchive)

        return false;
    
public voidsetDescriptor(com.sun.enterprise.deployment.Descriptor descriptor)
Set the DOL descriptor for this Archivist, used by super classes

        if (descriptor instanceof ConnectorDescriptor) {
            this.descriptor = (ConnectorDescriptor) descriptor;
        } else {
            DOLUtils.getDefaultLogger().log(Level.SEVERE, "enterprise.deployment.backend.descriptorFailure", new Object[] {this});
        }