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.ArchiveFactoryImpl
The 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
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImpl
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.persistence.jpa.ArchivecreateArchive(URL rootUrl, String descriptorLocation, Map properties) Methods inherited from class org.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImpl
createArchive, isJarInputStream
-
Constructor Details
-
JBossArchiveFactoryImpl
public JBossArchiveFactoryImpl() -
JBossArchiveFactoryImpl
-
-
Method Details
-
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
-