public class DefaultMarshallerProvider extends Object implements MarshallerProvider
MarshallerProvider which just create a new Marshaller
on ever getMarshaller(ChannelHandlerContext) call.| Constructor and Description |
|---|
DefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory,
org.jboss.marshalling.MarshallingConfiguration config)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
org.jboss.marshalling.Marshaller |
getMarshaller(ChannelHandlerContext ctx)
Get a
Marshaller for the given ChannelHandlerContext |
public DefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory,
org.jboss.marshalling.MarshallingConfiguration config)
factory - the MarshallerFactory to use to create Marshallerconfig - the MarshallingConfigurationpublic org.jboss.marshalling.Marshaller getMarshaller(ChannelHandlerContext ctx) throws Exception
MarshallerProviderMarshaller for the given ChannelHandlerContextgetMarshaller in interface MarshallerProviderExceptionCopyright © 2008-2016 The Netty Project. All Rights Reserved.