Class DefaultUnmarshallerProvider

java.lang.Object
org.jboss.netty.handler.codec.marshalling.DefaultUnmarshallerProvider
All Implemented Interfaces:
UnmarshallerProvider
Direct Known Subclasses:
ContextBoundUnmarshallerProvider

public class DefaultUnmarshallerProvider extends Object implements UnmarshallerProvider
Default implementation of UnmarshallerProvider which will just create a new Unmarshaller on every call to getUnmarshaller(ChannelHandlerContext)
  • Field Details

    • factory

      private final org.jboss.marshalling.MarshallerFactory factory
    • config

      private final org.jboss.marshalling.MarshallingConfiguration config
  • Constructor Details

    • DefaultUnmarshallerProvider

      public DefaultUnmarshallerProvider(org.jboss.marshalling.MarshallerFactory factory, org.jboss.marshalling.MarshallingConfiguration config)
      Create a new instance of DefaultMarshallerProvider
      Parameters:
      factory - the MarshallerFactory to use to create Unmarshaller
      config - the MarshallingConfiguration
  • Method Details