Package net.officefloor.spring.webmvc
Class WebMvcServletSupplierExtension
java.lang.Object
net.officefloor.spring.webmvc.WebMvcServletSupplierExtension
- All Implemented Interfaces:
ServiceFactory<ServletSupplierExtension>,ServletSupplierExtension,ServletSupplierExtensionServiceFactory
public class WebMvcServletSupplierExtension
extends Object
implements ServletSupplierExtensionServiceFactory, ServletSupplierExtension
Web MVC
ServletSupplierExtension.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked before completing.createService(ServiceContext context) Creates the service.
-
Constructor Details
-
WebMvcServletSupplierExtension
public WebMvcServletSupplierExtension()
-
-
Method Details
-
createService
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<ServletSupplierExtension>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
Throwable- If fails to create the service.
-
beforeCompletion
public void beforeCompletion(BeforeCompleteServletSupplierExtensionContext context) throws Exception Description copied from interface:ServletSupplierExtensionInvoked before completing.
Note that the
Servletcontainer may have been force started before invoking this.- Specified by:
beforeCompletionin interfaceServletSupplierExtension- Parameters:
context-BeforeCompleteServletSupplierExtensionContext.- Throws:
Exception- If fails completion.
-