Class MockJpaInjectionServices

java.lang.Object
org.jboss.weld.junit.MockJpaInjectionServices
All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service, org.jboss.weld.injection.spi.JpaInjectionServices

public class MockJpaInjectionServices extends Object implements org.jboss.weld.injection.spi.JpaInjectionServices
Author:
Martin Kouba
See Also:
  • Constructor Details

  • Method Details

    • registerPersistenceContextInjectionPoint

      public org.jboss.weld.injection.spi.ResourceReferenceFactory<jakarta.persistence.EntityManager> registerPersistenceContextInjectionPoint(InjectionPoint injectionPoint)
      Specified by:
      registerPersistenceContextInjectionPoint in interface org.jboss.weld.injection.spi.JpaInjectionServices
    • registerPersistenceUnitInjectionPoint

      public org.jboss.weld.injection.spi.ResourceReferenceFactory<jakarta.persistence.EntityManagerFactory> registerPersistenceUnitInjectionPoint(InjectionPoint injectionPoint)
      Specified by:
      registerPersistenceUnitInjectionPoint in interface org.jboss.weld.injection.spi.JpaInjectionServices
    • cleanup

      public void cleanup()
      Specified by:
      cleanup in interface org.jboss.weld.bootstrap.api.Service