Class PersistenceUnitServiceHandler


  • public class PersistenceUnitServiceHandler
    extends Object
    Handle the installation of the Persistence Unit service NOTE: References in this document to Java Persistence API (JPA) refer to the Jakarta Persistence unless otherwise noted.
    Author:
    Scott Marlow
    • Field Detail

      • BEANMANAGER_NAME

        public static final org.jboss.msc.service.ServiceName BEANMANAGER_NAME
      • SCOPED_UNIT_NAME

        public static final org.jboss.as.controller.AttributeDefinition SCOPED_UNIT_NAME
    • Constructor Detail

      • PersistenceUnitServiceHandler

        public PersistenceUnitServiceHandler()
    • Method Detail

      • deploy

        public static void deploy​(org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext,
                                  boolean startEarly,
                                  Platform platform)
                           throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • undeploy

        public static void undeploy​(org.jboss.as.server.deployment.DeploymentUnit context)