public class EncoderDecoderFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer>
implements org.springframework.context.ApplicationEventPublisherAware
Encoding.| Constructor and Description |
|---|
EncoderDecoderFactoryBean(Encoding encoding) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer |
createInstance() |
Class<?> |
getObjectType() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) |
void |
setMaxMessageSize(int maxMessageSize)
The maximum message size allowed when decoding.
|
public EncoderDecoderFactoryBean(Encoding encoding)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAwarepublic void setMaxMessageSize(int maxMessageSize)
maxMessageSize - the maximum message size.protected org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer createInstance()
throws Exception
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer>Copyright © 2021. All rights reserved.