Package net.officefloor.spring.webflux
Class WebFluxSpringSupplierExtension
- java.lang.Object
-
- net.officefloor.spring.webflux.WebFluxSpringSupplierExtension
-
- All Implemented Interfaces:
ServiceFactory<SpringSupplierExtension>
,SpringSupplierExtension
,SpringSupplierExtensionServiceFactory
public class WebFluxSpringSupplierExtension extends java.lang.Object implements SpringSupplierExtensionServiceFactory, SpringSupplierExtension
Web FluxSpringSupplierExtension
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WebFluxSpringSupplierExtension.OfficeFloorEmbeddedWebFluxConfiguration
Configuration
to embedOfficeFloor
.static class
WebFluxSpringSupplierExtension.OfficeFloorReactiveWebServerFactory
OfficeFloor
ReactiveWebServerFactory
.
-
Constructor Summary
Constructors Constructor Description WebFluxSpringSupplierExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configureSpring(org.springframework.boot.builder.SpringApplicationBuilder builder)
Configures Spring viaSpringApplicationBuilder
.SpringSupplierExtension
createService(ServiceContext context)
Creates the service.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.spring.extension.SpringSupplierExtension
afterSpringLoad, beforeSpringLoad, decorateSpringBean
-
-
-
-
Method Detail
-
createService
public SpringSupplierExtension createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<SpringSupplierExtension>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
configureSpring
public void configureSpring(org.springframework.boot.builder.SpringApplicationBuilder builder) throws java.lang.Exception
Description copied from interface:SpringSupplierExtension
Configures Spring viaSpringApplicationBuilder
.- Specified by:
configureSpring
in interfaceSpringSupplierExtension
- Parameters:
builder
-SpringApplicationBuilder
.- Throws:
java.lang.Exception
- If fails to configure.
-
-