com.sun.enterprise.deployment.archivist
Class ExtensionsArchivist

java.lang.Object
  extended by com.sun.enterprise.deployment.archivist.ExtensionsArchivist
Direct Known Subclasses:
PersistenceArchivist, WebServicesArchivist, WLApplicationArchivist, WLEjbArchivist, WLWebArchivist

@Contract
public abstract class ExtensionsArchivist
extends java.lang.Object

An extension archivist is processing extensions deployment descriptors like web services, persistence or even EJB information within a war file. They do not represent a top level archivist, as it is not capable of loading BundleDescriptors directly but require a top level archivist to do so before they can process their own metadata

Author:
Jerome Dochez

Field Summary
protected  java.util.logging.Logger logger
           
 
Constructor Summary
ExtensionsArchivist()
           
 
Method Summary
<T extends RootDeploymentDescriptor>
void
addExtension(RootDeploymentDescriptor root, RootDeploymentDescriptor extension)
           
abstract  DeploymentDescriptorFile getConfigurationDDFile(RootDeploymentDescriptor descriptor)
           
abstract
<T extends RootDeploymentDescriptor>
T
getDefaultDescriptor()
           
 DeploymentDescriptorFile getGFCounterPartConfigurationDDFile(RootDeploymentDescriptor descriptor)
           
abstract  XModuleType getModuleType()
           
 ModuleScanner getScanner()
           
abstract  DeploymentDescriptorFile getStandardDDFile(RootDeploymentDescriptor descriptor)
           
 DeploymentDescriptorFile getSunConfigurationDDFile(RootDeploymentDescriptor descriptor)
           
 DeploymentDescriptorFile getSunCounterPartConfigurationDDFile(RootDeploymentDescriptor descriptor)
           
 java.lang.Object open(Archivist main, ReadableArchive archive, RootDeploymentDescriptor descriptor)
           
 java.lang.Object readRuntimeDeploymentDescriptor(Archivist main, ReadableArchive archive, RootDeploymentDescriptor descriptor)
           
abstract  boolean supportsModuleType(XModuleType moduleType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final java.util.logging.Logger logger
Constructor Detail

ExtensionsArchivist

public ExtensionsArchivist()
Method Detail

getStandardDDFile

public abstract DeploymentDescriptorFile getStandardDDFile(RootDeploymentDescriptor descriptor)

getConfigurationDDFile

public abstract DeploymentDescriptorFile getConfigurationDDFile(RootDeploymentDescriptor descriptor)

getModuleType

public abstract XModuleType getModuleType()

supportsModuleType

public abstract boolean supportsModuleType(XModuleType moduleType)

getDefaultDescriptor

public abstract <T extends RootDeploymentDescriptor> T getDefaultDescriptor()

getScanner

public ModuleScanner getScanner()

getSunConfigurationDDFile

public DeploymentDescriptorFile getSunConfigurationDDFile(RootDeploymentDescriptor descriptor)

getGFCounterPartConfigurationDDFile

public DeploymentDescriptorFile getGFCounterPartConfigurationDDFile(RootDeploymentDescriptor descriptor)

getSunCounterPartConfigurationDDFile

public DeploymentDescriptorFile getSunCounterPartConfigurationDDFile(RootDeploymentDescriptor descriptor)

addExtension

public <T extends RootDeploymentDescriptor> void addExtension(RootDeploymentDescriptor root,
                                                              RootDeploymentDescriptor extension)

open

public java.lang.Object open(Archivist main,
                             ReadableArchive archive,
                             RootDeploymentDescriptor descriptor)
                      throws java.io.IOException,
                             org.xml.sax.SAXParseException
Throws:
java.io.IOException
org.xml.sax.SAXParseException

readRuntimeDeploymentDescriptor

public java.lang.Object readRuntimeDeploymentDescriptor(Archivist main,
                                                        ReadableArchive archive,
                                                        RootDeploymentDescriptor descriptor)
                                                 throws java.io.IOException,
                                                        org.xml.sax.SAXParseException
Throws:
java.io.IOException
org.xml.sax.SAXParseException


Copyright © 2012 GlassFish Community. All Rights Reserved.