Class TestJpaInjectionServices
- java.lang.Object
-
- com.github.jonasrutishauser.cdi.test.jpa.TestJpaInjectionServices
-
- All Implemented Interfaces:
org.jboss.weld.bootstrap.api.Service
,org.jboss.weld.injection.spi.JpaInjectionServices
public class TestJpaInjectionServices extends Object implements org.jboss.weld.injection.spi.JpaInjectionServices
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_TEST_PERSISTENCE_UNIT
-
Constructor Summary
Constructors Constructor Description TestJpaInjectionServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
org.jboss.weld.injection.spi.ResourceReferenceFactory<jakarta.persistence.EntityManager>
registerPersistenceContextInjectionPoint(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
org.jboss.weld.injection.spi.ResourceReferenceFactory<jakarta.persistence.EntityManagerFactory>
registerPersistenceUnitInjectionPoint(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
-
-
-
Field Detail
-
DEFAULT_TEST_PERSISTENCE_UNIT
public static final String DEFAULT_TEST_PERSISTENCE_UNIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
registerPersistenceContextInjectionPoint
public org.jboss.weld.injection.spi.ResourceReferenceFactory<jakarta.persistence.EntityManager> registerPersistenceContextInjectionPoint(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
- Specified by:
registerPersistenceContextInjectionPoint
in interfaceorg.jboss.weld.injection.spi.JpaInjectionServices
-
registerPersistenceUnitInjectionPoint
public org.jboss.weld.injection.spi.ResourceReferenceFactory<jakarta.persistence.EntityManagerFactory> registerPersistenceUnitInjectionPoint(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint)
- Specified by:
registerPersistenceUnitInjectionPoint
in interfaceorg.jboss.weld.injection.spi.JpaInjectionServices
-
cleanup
public void cleanup()
- Specified by:
cleanup
in interfaceorg.jboss.weld.bootstrap.api.Service
-
-