org.glassfish.ejb.startup
Class EjbApplicationContainer

java.lang.Object
  extended by org.glassfish.ejb.startup.EjbApplicationContainer
All Implemented Interfaces:
ApplicationContainer<EjbBundleDescriptor>

@Service(name="ejb")
public class EjbApplicationContainer
extends Object
implements ApplicationContainer<EjbBundleDescriptor>

Ejb container service

Author:
Mahesh Kannan

Constructor Summary
EjbApplicationContainer(Object containerFactory, EjbBundleDescriptor bundleDesc)
           
 
Method Summary
 ClassLoader getClassLoader()
          Returns the class loader associated with this application
 EjbBundleDescriptor getDescriptor()
           
 boolean resume()
          Resumes this application container.
 boolean start(ApplicationContext startupContext)
           
 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

EjbApplicationContainer

public EjbApplicationContainer(Object containerFactory,
                               EjbBundleDescriptor bundleDesc)
Method Detail

start

public boolean start(ApplicationContext startupContext)
Specified by:
start in interface ApplicationContainer<EjbBundleDescriptor>

stop

public boolean stop(ApplicationContext stopContext)
Specified by:
stop in interface ApplicationContainer<EjbBundleDescriptor>

suspend

public boolean suspend()
Suspends this application container.

Specified by:
suspend in interface ApplicationContainer<EjbBundleDescriptor>
Returns:
true if suspending was successful, false otherwise.

resume

public boolean resume()
Resumes this application container.

Specified by:
resume in interface ApplicationContainer<EjbBundleDescriptor>
Returns:
true if resumption was successful, false otherwise.

getDescriptor

public EjbBundleDescriptor getDescriptor()
Specified by:
getDescriptor in interface ApplicationContainer<EjbBundleDescriptor>

getClassLoader

public ClassLoader getClassLoader()
Returns the class loader associated with this application

Specified by:
getClassLoader in interface ApplicationContainer<EjbBundleDescriptor>
Returns:
ClassLoader for this app


Copyright © 2012 GlassFish Community. All Rights Reserved.