Class JPApplicationContainer

java.lang.Object
org.glassfish.persistence.jpa.JPApplicationContainer
All Implemented Interfaces:
org.glassfish.api.deployment.ApplicationContainer<Object>

public class JPApplicationContainer extends Object implements org.glassfish.api.deployment.ApplicationContainer<Object>
Represents Application Container for JPA One instance of this object is created per deployed bundle.
Author:
Mitesh Meswani
  • Constructor Details

    • JPApplicationContainer

      public JPApplicationContainer()
  • Method Details

    • getDescriptor

      public Object getDescriptor()
      Specified by:
      getDescriptor in interface org.glassfish.api.deployment.ApplicationContainer<Object>
    • start

      public boolean start(org.glassfish.api.deployment.ApplicationContext startupContxt)
      Specified by:
      start in interface org.glassfish.api.deployment.ApplicationContainer<Object>
    • stop

      public boolean stop(org.glassfish.api.deployment.ApplicationContext stopContext)
      Specified by:
      stop in interface org.glassfish.api.deployment.ApplicationContainer<Object>
    • suspend

      public boolean suspend()
      Suspends this application container.
      Specified by:
      suspend in interface org.glassfish.api.deployment.ApplicationContainer<Object>
      Returns:
      true if suspending was successful, false otherwise.
    • resume

      public boolean resume()
      Resumes this application container.
      Specified by:
      resume in interface org.glassfish.api.deployment.ApplicationContainer<Object>
      Returns:
      true if resumption was successful, false otherwise.
    • getClassLoader

      public ClassLoader getClassLoader()
      Specified by:
      getClassLoader in interface org.glassfish.api.deployment.ApplicationContainer<Object>