public class WebServicesApplication extends Object implements ApplicationContainer<Object>
Thus when a request is received it is directed to our EjbWebServiceServlet
so that it can process the request
Constructor and Description |
---|
WebServicesApplication(DeploymentContext context,
RequestDispatcher dispatcherString,
Set<String> publishedFiles) |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
getClassLoader()
Returns the class loader associated with this application
|
Object |
getDescriptor()
Returns the deployment descriptor associated with this application
|
boolean |
resume()
Resumes this application container.
|
boolean |
start(ApplicationContext startupContext)
Starts an application container.
|
boolean |
stop(ApplicationContext stopContext)
Stop the application container
|
boolean |
suspend()
Suspends this application container.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
public WebServicesApplication(DeploymentContext context, RequestDispatcher dispatcherString, Set<String> publishedFiles)
public Object getDescriptor()
ApplicationContainer
getDescriptor
in interface ApplicationContainer<Object>
public boolean start(ApplicationContext startupContext) throws Exception
ApplicationContainer
start
in interface ApplicationContainer<Object>
startupContext
- the start up contextException
- if this application container could not be startedpublic boolean stop(ApplicationContext stopContext)
ApplicationContainer
stop
in interface ApplicationContainer<Object>
public boolean suspend()
ApplicationContainer
suspend
in interface ApplicationContainer<Object>
public boolean resume() throws Exception
ApplicationContainer
resume
in interface ApplicationContainer<Object>
Exception
- if this application container could not be
resumedpublic ClassLoader getClassLoader()
ApplicationContainer
getClassLoader
in interface ApplicationContainer<Object>
Copyright © 2021. All rights reserved.