Class JpaExtension

  • All Implemented Interfaces:
    javax.enterprise.inject.spi.Extension

    public class JpaExtension
    extends Object
    implements javax.enterprise.inject.spi.Extension
    A portable extension normally instantiated by the Java service provider infrastructure that integrates the provider-independent parts of JPA into CDI.

    Thread Safety

    As with all CDI portable extensions, instances of this class are not safe for concurrent use by multiple threads.

    See Also:
    PersistenceUnitInfoBean
    • Constructor Detail

      • JpaExtension

        public JpaExtension()
        Creates a new JpaExtension.

        Normally JpaExtension classes are created automatically and only as needed by the CDI container. End users should have no need to create instances of this class.

        See Also:
        Extension