Class DefaultMarshallerProvider
java.lang.Object
io.netty.handler.codec.marshalling.DefaultMarshallerProvider
- All Implemented Interfaces:
MarshallerProvider
Default implementation of
MarshallerProvider which just create a new Marshaller
on ever getMarshaller(ChannelHandlerContext) call.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config) Create a new instance -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.marshalling.MarshallerGet aMarshallerfor the givenChannelHandlerContext
-
Constructor Details
-
DefaultMarshallerProvider
public DefaultMarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config) Create a new instance- Parameters:
factory- theMarshallerFactoryto use to createMarshallerconfig- theMarshallingConfiguration
-
-
Method Details
-
getMarshaller
Description copied from interface:MarshallerProviderGet aMarshallerfor the givenChannelHandlerContext- Specified by:
getMarshallerin interfaceMarshallerProvider- Throws:
Exception
-