|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.ejb.startup.EjbApplication
@Service(name="ejb") @Scoped(value=org.jvnet.hk2.component.PerLookup.class) public class EjbApplication
This class represents a logical collection of EJB components contained in one ejb-jar or one .war.
| Constructor Summary | |
|---|---|
EjbApplication(EjbBundleDescriptor bundle,
DeploymentContext dc,
ClassLoader cl,
org.jvnet.hk2.component.Habitat habitat,
EJBSecurityManagerFactory ejbSecMgrFactory)
|
|
| Method Summary | |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader associated with this application |
Collection<EjbDescriptor> |
getDescriptor()
|
EjbBundleDescriptor |
getEjbBundleDescriptor()
|
boolean |
isStarted()
|
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 |
|---|
public EjbApplication(EjbBundleDescriptor bundle,
DeploymentContext dc,
ClassLoader cl,
org.jvnet.hk2.component.Habitat habitat,
EJBSecurityManagerFactory ejbSecMgrFactory)
| Method Detail |
|---|
public Collection<EjbDescriptor> getDescriptor()
getDescriptor in interface ApplicationContainer<Collection<EjbDescriptor>>public EjbBundleDescriptor getEjbBundleDescriptor()
public boolean isStarted()
public boolean start(ApplicationContext startupContext)
throws Exception
start in interface ApplicationContainer<Collection<EjbDescriptor>>Exceptionpublic boolean stop(ApplicationContext stopContext)
stop in interface ApplicationContainer<Collection<EjbDescriptor>>public boolean suspend()
suspend in interface ApplicationContainer<Collection<EjbDescriptor>>public boolean resume()
resume in interface ApplicationContainer<Collection<EjbDescriptor>>public ClassLoader getClassLoader()
getClassLoader in interface ApplicationContainer<Collection<EjbDescriptor>>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||