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 java.lang.Object implements WoofExtensionServiceFactory, WoofExtensionService
WoofExtensionServiceto provide aServletcontainer.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_WAR_PATHPropertyto specify path to web application (WAR).
-
Constructor Summary
Constructors Constructor Description ServletWoofExtensionService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WoofExtensionServicecreateService(ServiceContext context)Creates the service.voidextend(WoofContext context)Extends theWebArchitect.static java.lang.StringgetChainServletsPropertyName(java.lang.String officeName)Obtains thePropertyname forServletSupplierSource.PROPERTY_CHAIN_SERVLETS.
-
-
-
Field Detail
-
PROPERTY_WAR_PATH
public static final java.lang.String PROPERTY_WAR_PATH
Propertyto specify path to web application (WAR).- See Also:
- Constant Field Values
-
-
Method Detail
-
getChainServletsPropertyName
public static java.lang.String getChainServletsPropertyName(java.lang.String officeName)
Obtains thePropertyname forServletSupplierSource.PROPERTY_CHAIN_SERVLETS.- Parameters:
officeName- Name of theOffice.- Returns:
Propertyname forServletSupplierSource.PROPERTY_CHAIN_SERVLETS.
-
createService
public WoofExtensionService createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<WoofExtensionService>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
java.lang.Throwable- If fails to create the service.
-
extend
public void extend(WoofContext context) throws java.lang.Exception
Description copied from interface:WoofExtensionServiceExtends theWebArchitect.- Specified by:
extendin interfaceWoofExtensionService- Parameters:
context-WoofContext.- Throws:
java.lang.Exception- If fails to extend.
-
-