Class CreatedEntityManagers

java.lang.Object
org.jboss.as.jpa.container.CreatedEntityManagers

public class CreatedEntityManagers extends Object
Tracks the lifecycle of created XPC Entity Managers
Author:
Scott Marlow
  • Constructor Details

    • CreatedEntityManagers

      public CreatedEntityManagers()
  • Method Details

    • registerPersistenceContext

      public static void registerPersistenceContext(ExtendedEntityManager xpc)
      At injection time of a XPC, register the XPC (step 1 of 2) finishRegistrationOfPersistenceContext is step 2
      Parameters:
      xpc - The ExtendedEntityManager
    • getDeferredEntityManagers

      public static ExtendedEntityManager[] getDeferredEntityManagers()
      Called by postconstruct interceptor