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 java.lang.Object implements ServletSupplierExtensionServiceFactory, ServletSupplierExtension
Web MVCServletSupplierExtension
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description WebMvcServletSupplierExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeCompletion(BeforeCompleteServletSupplierExtensionContext context)
Invoked before completing.ServletSupplierExtension
createService(ServiceContext context)
Creates the service.
-
-
-
Method Detail
-
createService
public ServletSupplierExtension createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<ServletSupplierExtension>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
beforeCompletion
public void beforeCompletion(BeforeCompleteServletSupplierExtensionContext context) throws java.lang.Exception
Description copied from interface:ServletSupplierExtension
Invoked before completing.
Note that the
Servlet
container may have been force started before invoking this.- Specified by:
beforeCompletion
in interfaceServletSupplierExtension
- Parameters:
context
-BeforeCompleteServletSupplierExtensionContext
.- Throws:
java.lang.Exception
- If fails completion.
-
-