org.glassfish.persistence.jpa
Class JPApplicationContainer
java.lang.Object
org.glassfish.persistence.jpa.JPApplicationContainer
- All Implemented Interfaces:
- ApplicationContainer
public class JPApplicationContainer
- extends java.lang.Object
- implements ApplicationContainer
Represents Application Container for JPA
One instance of this object is created per deployed bundle.
- Author:
- Mitesh Meswani
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPApplicationContainer
public JPApplicationContainer()
getDescriptor
public java.lang.Object getDescriptor()
- Specified by:
getDescriptor in interface ApplicationContainer
start
public boolean start(ApplicationContext startupContxt)
- Specified by:
start in interface ApplicationContainer
stop
public boolean stop(ApplicationContext stopContext)
- Specified by:
stop in interface ApplicationContainer
suspend
public boolean suspend()
- Suspends this application container.
- Specified by:
suspend in interface ApplicationContainer
- Returns:
- true if suspending was successful, false otherwise.
resume
public boolean resume()
- Resumes this application container.
- Specified by:
resume in interface ApplicationContainer
- Returns:
- true if resumption was successful, false otherwise.
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader in interface ApplicationContainer
Copyright © 2012 GlassFish Community. All Rights Reserved.