Class WebNonTxEmCloserAction

java.lang.Object
org.jboss.as.jpa.interceptor.WebNonTxEmCloserAction
All Implemented Interfaces:
org.jboss.as.server.deployment.SetupAction

public class WebNonTxEmCloserAction extends Object implements org.jboss.as.server.deployment.SetupAction
Web setup action that closes the entity managers created during the servlet invocation. This provides a thread local collection of all created transactional entity managers (created without a transaction).
Author:
Scott Marlow
  • Constructor Details

    • WebNonTxEmCloserAction

      public WebNonTxEmCloserAction()
  • Method Details

    • setup

      public void setup(Map<String,Object> properties)
      Specified by:
      setup in interface org.jboss.as.server.deployment.SetupAction
    • teardown

      public void teardown(Map<String,Object> properties)
      Specified by:
      teardown in interface org.jboss.as.server.deployment.SetupAction
    • priority

      public int priority()
      Specified by:
      priority in interface org.jboss.as.server.deployment.SetupAction
    • dependencies

      public Set<org.jboss.msc.service.ServiceName> dependencies()
      Specified by:
      dependencies in interface org.jboss.as.server.deployment.SetupAction