Class GenericApplicationContainer
- java.lang.Object
-
- org.glassfish.internal.deployment.GenericApplicationContainer
-
- All Implemented Interfaces:
org.glassfish.api.deployment.ApplicationContainer
public class GenericApplicationContainer extends Object implements org.glassfish.api.deployment.ApplicationContainer
Generic implementation of the ApplicationContainer interface- Author:
- Jerome Dochez
-
-
Constructor Summary
Constructors Constructor Description GenericApplicationContainer(ClassLoader cl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoadergetClassLoader()ObjectgetDescriptor()booleanresume()booleanstart(org.glassfish.api.deployment.ApplicationContext startupContext)booleanstop(org.glassfish.api.deployment.ApplicationContext stopContext)booleansuspend()
-
-
-
Constructor Detail
-
GenericApplicationContainer
public GenericApplicationContainer(ClassLoader cl)
-
-
Method Detail
-
getDescriptor
public Object getDescriptor()
- Specified by:
getDescriptorin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
start
public boolean start(org.glassfish.api.deployment.ApplicationContext startupContext) throws Exception- Specified by:
startin interfaceorg.glassfish.api.deployment.ApplicationContainer- Throws:
Exception
-
stop
public boolean stop(org.glassfish.api.deployment.ApplicationContext stopContext)
- Specified by:
stopin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
suspend
public boolean suspend()
- Specified by:
suspendin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
resume
public boolean resume() throws Exception- Specified by:
resumein interfaceorg.glassfish.api.deployment.ApplicationContainer- Throws:
Exception
-
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoaderin interfaceorg.glassfish.api.deployment.ApplicationContainer
-
-