@Configuration @ConditionalOnClass(value=com.esotericsoftware.kryo.Kryo.class) @EnableConfigurationProperties(value=KryoCodecProperties.class) @ConditionalOnMissingBean(value=org.springframework.integration.codec.Codec.class) public class KryoCodecAutoConfiguration extends Object
PojoCodec
if Kryo is on the class path.Constructor and Description |
---|
KryoCodecAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.codec.kryo.PojoCodec |
codec() |
org.springframework.integration.codec.kryo.KryoRegistrar |
fileRegistrar() |
@Bean @ConditionalOnMissingBean(value=org.springframework.integration.codec.kryo.PojoCodec.class) public org.springframework.integration.codec.kryo.PojoCodec codec()
@Bean @ConditionalOnMissingBean(value=org.springframework.integration.codec.kryo.KryoRegistrar.class) public org.springframework.integration.codec.kryo.KryoRegistrar fileRegistrar()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.