Package net.officefloor.kotlin
Class KotlinDataObjectMapperParserDecoratorServiceFactory
- java.lang.Object
-
- net.officefloor.kotlin.KotlinDataObjectMapperParserDecoratorServiceFactory
-
- All Implemented Interfaces:
ServiceFactory<ObjectMapperParserDecorator>,ObjectMapperParserDecorator,ObjectMapperParserDecoratorServiceFactory
public class KotlinDataObjectMapperParserDecoratorServiceFactory extends java.lang.Object implements ObjectMapperParserDecoratorServiceFactory, ObjectMapperParserDecorator
Kotlin DataObjectMapperParserDecoratorServiceFactory.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description KotlinDataObjectMapperParserDecoratorServiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectMapperParserDecoratorcreateService(ServiceContext context)Creates the service.voiddecorateObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)Decorates theObjectMapper.
-
-
-
Method Detail
-
createService
public ObjectMapperParserDecorator createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<ObjectMapperParserDecorator>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
java.lang.Throwable- If fails to create the service.
-
decorateObjectMapper
public void decorateObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) throws java.lang.ExceptionDescription copied from interface:ObjectMapperParserDecoratorDecorates theObjectMapper.- Specified by:
decorateObjectMapperin interfaceObjectMapperParserDecorator- Parameters:
mapper-ObjectMapper.- Throws:
java.lang.Exception- If fails to decorate theObjectMapper.
-
-