org.glassfish.webservices
Class WebServicesApplication

java.lang.Object
  extended by org.glassfish.webservices.WebServicesApplication
All Implemented Interfaces:
ApplicationContainer

public class WebServicesApplication
extends java.lang.Object
implements ApplicationContainer

This class implements the ApplicationContainer and will be used to register endpoints to the grizzly ServletAdapter Thus when a request is received it is directed to our EjbWebServiceServlet so that it can process the request

Author:
Bhakti Mehta

Field Summary
protected  java.util.logging.Logger logger
           
 
Constructor Summary
WebServicesApplication(DeploymentContext context, ServerEnvironment env, RequestDispatcher dispatcherString, Config config, org.jvnet.hk2.component.Habitat habitat, java.util.Set<java.lang.String> publishedFiles)
           
 
Method Summary
 java.lang.ClassLoader getClassLoader()
           
 java.lang.Object getDescriptor()
           
 boolean resume()
           
 boolean start(ApplicationContext startupContext)
           
 boolean stop(ApplicationContext stopContext)
           
 boolean suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected java.util.logging.Logger logger
Constructor Detail

WebServicesApplication

public WebServicesApplication(DeploymentContext context,
                              ServerEnvironment env,
                              RequestDispatcher dispatcherString,
                              Config config,
                              org.jvnet.hk2.component.Habitat habitat,
                              java.util.Set<java.lang.String> publishedFiles)
Method Detail

getDescriptor

public java.lang.Object getDescriptor()
Specified by:
getDescriptor in interface ApplicationContainer

start

public boolean start(ApplicationContext startupContext)
              throws java.lang.Exception
Specified by:
start in interface ApplicationContainer
Throws:
java.lang.Exception

stop

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

suspend

public boolean suspend()
Specified by:
suspend in interface ApplicationContainer

resume

public boolean resume()
               throws java.lang.Exception
Specified by:
resume in interface ApplicationContainer
Throws:
java.lang.Exception

getClassLoader

public java.lang.ClassLoader getClassLoader()
Specified by:
getClassLoader in interface ApplicationContainer


Copyright © 2012 GlassFish Community. All Rights Reserved.