org.glassfish.persistence.jpa
Class JPApplicationContainer

java.lang.Object
  extended by 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

Constructor Summary
JPApplicationContainer()
           
 
Method Summary
 java.lang.ClassLoader getClassLoader()
           
 java.lang.Object getDescriptor()
           
 boolean resume()
          Resumes this application container.
 boolean start(ApplicationContext startupContxt)
           
 boolean stop(ApplicationContext stopContext)
           
 boolean suspend()
          Suspends this application container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPApplicationContainer

public JPApplicationContainer()
Method Detail

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.