Class 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
    • 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:
        createArchive in interface org.eclipse.persistence.jpa.ArchiveFactory
        Overrides:
        createArchive in class org.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImpl
        Throws:
        URISyntaxException
        IOException