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 Details

    • GenericApplicationContainer

      public GenericApplicationContainer(ClassLoader cl)
  • Method Details

    • getDescriptor

      public Object getDescriptor()
      Specified by:
      getDescriptor in interface org.glassfish.api.deployment.ApplicationContainer
    • start

      public boolean start(org.glassfish.api.deployment.ApplicationContext startupContext) throws Exception
      Specified by:
      start in interface org.glassfish.api.deployment.ApplicationContainer
      Throws:
      Exception
    • stop

      public boolean stop(org.glassfish.api.deployment.ApplicationContext stopContext)
      Specified by:
      stop in interface org.glassfish.api.deployment.ApplicationContainer
    • suspend

      public boolean suspend()
      Specified by:
      suspend in interface org.glassfish.api.deployment.ApplicationContainer
    • resume

      public boolean resume() throws Exception
      Specified by:
      resume in interface org.glassfish.api.deployment.ApplicationContainer
      Throws:
      Exception
    • getClassLoader

      public ClassLoader getClassLoader()
      Specified by:
      getClassLoader in interface org.glassfish.api.deployment.ApplicationContainer