public class WebApplicationServiceFactory extends AbstractServiceFactory<WebApplicationService>
WebApplicationServiceFactory
is responsible for
creating WebApplicationService
objects.logger
Constructor and Description |
---|
WebApplicationServiceFactory() |
Modifier and Type | Method and Description |
---|---|
WebApplicationService |
createService(javax.servlet.http.HttpServletRequest request)
Create service object based on the parameters of the request.
|
WebApplicationService |
createService(java.lang.String id)
Create service based on an identifier.
|
protected java.lang.String |
getRequestedService(javax.servlet.http.HttpServletRequest request)
Gets requested service.
|
cleanupUrl, createService, createService
public WebApplicationService createService(javax.servlet.http.HttpServletRequest request)
ServiceFactory
request
- the requestprotected java.lang.String getRequestedService(javax.servlet.http.HttpServletRequest request)
request
- the requestpublic WebApplicationService createService(java.lang.String id)
ServiceFactory
id
- the id