Package org.glassfish.persistence.jpa
Class JPApplicationContainer
- java.lang.Object
-
- org.glassfish.persistence.jpa.JPApplicationContainer
-
- All Implemented Interfaces:
org.glassfish.api.deployment.ApplicationContainer
public class JPApplicationContainer extends Object implements org.glassfish.api.deployment.ApplicationContainer
Represents Application Container for JPA One instance of this object is created per deployed bundle.- Author:
- Mitesh Meswani
-
-
Constructor Summary
Constructors Constructor Description JPApplicationContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoadergetClassLoader()ObjectgetDescriptor()booleanresume()Resumes this application container.booleanstart(org.glassfish.api.deployment.ApplicationContext startupContxt)booleanstop(org.glassfish.api.deployment.ApplicationContext stopContext)booleansuspend()Suspends this application container.
-
-
-
Method Detail
-
getDescriptor
public Object getDescriptor()
- Specified by:
getDescriptorin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
start
public boolean start(org.glassfish.api.deployment.ApplicationContext startupContxt)
- Specified by:
startin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
stop
public boolean stop(org.glassfish.api.deployment.ApplicationContext stopContext)
- Specified by:
stopin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
suspend
public boolean suspend()
Suspends this application container.- Specified by:
suspendin interfaceorg.glassfish.api.deployment.ApplicationContainer- Returns:
- true if suspending was successful, false otherwise.
-
resume
public boolean resume()
Resumes this application container.- Specified by:
resumein interfaceorg.glassfish.api.deployment.ApplicationContainer- Returns:
- true if resumption was successful, false otherwise.
-
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoaderin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
-