Package net.officefloor.servlet.supply
Class ServletWoofExtensionService
java.lang.Object
net.officefloor.servlet.supply.ServletWoofExtensionService
- All Implemented Interfaces:
ServiceFactory<WoofExtensionService>,WoofExtensionService,WoofExtensionServiceFactory
public class ServletWoofExtensionService
extends Object
implements WoofExtensionServiceFactory, WoofExtensionService
WoofExtensionService to provide a Servlet container.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService(ServiceContext context) Creates the service.voidextend(WoofContext context) Extends theWebArchitect.static StringgetChainServletsPropertyName(String officeName) Obtains thePropertyname forServletSupplierSource.PROPERTY_CHAIN_SERVLETS.
-
Field Details
-
PROPERTY_WAR_PATH
Propertyto specify path to web application (WAR).- See Also:
-
-
Constructor Details
-
ServletWoofExtensionService
public ServletWoofExtensionService()
-
-
Method Details
-
getChainServletsPropertyName
Obtains thePropertyname forServletSupplierSource.PROPERTY_CHAIN_SERVLETS.- Parameters:
officeName- Name of theOffice.- Returns:
Propertyname forServletSupplierSource.PROPERTY_CHAIN_SERVLETS.
-
createService
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<WoofExtensionService>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
Throwable- If fails to create the service.
-
extend
Description copied from interface:WoofExtensionServiceExtends theWebArchitect.- Specified by:
extendin interfaceWoofExtensionService- Parameters:
context-WoofContext.- Throws:
Exception- If fails to extend.
-