com.sun.enterprise.deployment.archivist
Class EarPersistenceArchivist

java.lang.Object
  extended by com.sun.enterprise.deployment.archivist.ExtensionsArchivist
      extended by com.sun.enterprise.deployment.archivist.PersistenceArchivist
          extended by com.sun.enterprise.deployment.archivist.EarPersistenceArchivist

@Service
public class EarPersistenceArchivist
extends PersistenceArchivist


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.enterprise.deployment.archivist.PersistenceArchivist
PersistenceArchivist.SubArchivePURootScanner
 
Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.archivist.PersistenceArchivist
JAR_EXT, logger, SEPERATOR_CHAR
 
Constructor Summary
EarPersistenceArchivist()
           
 
Method Summary
 java.lang.Object open(Archivist main, ReadableArchive earArchive, RootDeploymentDescriptor descriptor)
          Reads persistence.xml from spec defined pu roots of an ear.
 boolean supportsModuleType(XModuleType moduleType)
           
 
Methods inherited from class com.sun.enterprise.deployment.archivist.PersistenceArchivist
getConfigurationDDFile, getDefaultDescriptor, getModuleType, getProbablePersistenceRoots, getPuRoot, getStandardDDFile, isProbablePuRootJar, readPersistenceDeploymentDescriptor
 
Methods inherited from class com.sun.enterprise.deployment.archivist.ExtensionsArchivist
addExtension, getGFCounterPartConfigurationDDFile, getScanner, getSunConfigurationDDFile, getSunCounterPartConfigurationDDFile, readRuntimeDeploymentDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarPersistenceArchivist

public EarPersistenceArchivist()
Method Detail

supportsModuleType

public boolean supportsModuleType(XModuleType moduleType)
Specified by:
supportsModuleType in class PersistenceArchivist

open

public java.lang.Object open(Archivist main,
                             ReadableArchive earArchive,
                             RootDeploymentDescriptor descriptor)
                      throws java.io.IOException,
                             org.xml.sax.SAXParseException
Reads persistence.xml from spec defined pu roots of an ear. Spec defined pu roots are - (1)Non component jars in root of ear (2)jars in lib of ear

Overrides:
open in class PersistenceArchivist
Throws:
java.io.IOException
org.xml.sax.SAXParseException


Copyright © 2012 GlassFish Community. All Rights Reserved.