org.apache.camel.component.netty
Interface ChannelHandlerFactory

All Superinterfaces:
org.jboss.netty.channel.ChannelHandler
All Known Implementing Classes:
ShareableChannelHandlerFactory

public interface ChannelHandlerFactory
extends org.jboss.netty.channel.ChannelHandler

Factory for creating new ChannelHandler used for non shareable encoders and decoders configured on the Camel NettyComponent.

This is needed as Netty's ChannelHandler is often not shareable and therefore a new instance must be created when a handler is being added to a pipeline.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Method Summary
 org.jboss.netty.channel.ChannelHandler newChannelHandler()
          Creates a new ChannelHandler to be used.
 

Method Detail

newChannelHandler

org.jboss.netty.channel.ChannelHandler newChannelHandler()
Creates a new ChannelHandler to be used.



Apache Camel