Class CorsWebIntercepterServiceFactory
- java.lang.Object
-
- net.officefloor.tutorial.corshttpserver.CorsWebIntercepterServiceFactory
-
- All Implemented Interfaces:
ServiceFactory<java.lang.Class<?>>,WebInterceptServiceFactory
public class CorsWebIntercepterServiceFactory extends java.lang.Object implements WebInterceptServiceFactory
- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description CorsWebIntercepterServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>createService(ServiceContext context)Creates the service.
-
-
-
Method Detail
-
createService
public java.lang.Class<?> createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<java.lang.Class<?>>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
java.lang.Throwable- If fails to create the service.
-
-