Package org.jipijapa.eclipselink
Class JBossArchiveFactoryImpl
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImpl
-
- org.jipijapa.eclipselink.JBossArchiveFactoryImpl
-
- All Implemented Interfaces:
org.eclipse.persistence.jpa.ArchiveFactory
public class JBossArchiveFactoryImpl extends org.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImplThe JBossArchiveFactoryImpl provided here allows Eclipse to scan JBoss AS 7 deployments for classes, so clasess don't have to be explicitly listed in persistence.xml . To enable this, set the system property eclipselink.archive.factory to the fully qualified name of this class. See https://community.jboss.org/wiki/HowToUseEclipseLinkWithAS7- Author:
- Rich DiCroce
-
-
Constructor Summary
Constructors Constructor Description JBossArchiveFactoryImpl()JBossArchiveFactoryImpl(Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.persistence.jpa.ArchivecreateArchive(URL rootUrl, String descriptorLocation, Map properties)
-
-
-
Constructor Detail
-
JBossArchiveFactoryImpl
public JBossArchiveFactoryImpl()
-
JBossArchiveFactoryImpl
public JBossArchiveFactoryImpl(Logger logger)
-
-
Method Detail
-
createArchive
public org.eclipse.persistence.jpa.Archive createArchive(URL rootUrl, String descriptorLocation, Map properties) throws URISyntaxException, IOException
- Specified by:
createArchivein interfaceorg.eclipse.persistence.jpa.ArchiveFactory- Overrides:
createArchivein classorg.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImpl- Throws:
URISyntaxExceptionIOException
-
-