@Service(name="ejb") @PerLookup public class EjbApplication extends Object implements org.glassfish.api.deployment.ApplicationContainer<Collection<EjbDescriptor>>
| Constructor and Description |
|---|
EjbApplication(EjbBundleDescriptorImpl bundle,
org.glassfish.api.deployment.DeploymentContext dc,
ClassLoader cl,
org.glassfish.hk2.api.ServiceLocator services) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getClassLoader()
Returns the class loader associated with this application
|
Collection<EjbDescriptor> |
getDescriptor() |
EjbBundleDescriptorImpl |
getEjbBundleDescriptor() |
boolean |
isStarted() |
boolean |
resume()
Resumes this application container.
|
boolean |
start(org.glassfish.api.deployment.ApplicationContext startupContext) |
boolean |
stop(org.glassfish.api.deployment.ApplicationContext stopContext) |
boolean |
suspend()
Suspends this application container.
|
public EjbApplication(EjbBundleDescriptorImpl bundle, org.glassfish.api.deployment.DeploymentContext dc, ClassLoader cl, org.glassfish.hk2.api.ServiceLocator services)
public Collection<EjbDescriptor> getDescriptor()
getDescriptor in interface org.glassfish.api.deployment.ApplicationContainer<Collection<EjbDescriptor>>public EjbBundleDescriptorImpl getEjbBundleDescriptor()
public boolean isStarted()
public boolean start(org.glassfish.api.deployment.ApplicationContext startupContext)
throws Exception
start in interface org.glassfish.api.deployment.ApplicationContainer<Collection<EjbDescriptor>>Exceptionpublic boolean stop(org.glassfish.api.deployment.ApplicationContext stopContext)
stop in interface org.glassfish.api.deployment.ApplicationContainer<Collection<EjbDescriptor>>public boolean suspend()
suspend in interface org.glassfish.api.deployment.ApplicationContainer<Collection<EjbDescriptor>>public boolean resume()
resume in interface org.glassfish.api.deployment.ApplicationContainer<Collection<EjbDescriptor>>public ClassLoader getClassLoader()
getClassLoader in interface org.glassfish.api.deployment.ApplicationContainer<Collection<EjbDescriptor>>Copyright © 2019. All rights reserved.