org.apache.camel.component.netty
Class ShareableChannelHandlerFactory
java.lang.Object
org.apache.camel.component.netty.ShareableChannelHandlerFactory
- All Implemented Interfaces:
- ChannelHandlerFactory, org.jboss.netty.channel.ChannelHandler
public class ShareableChannelHandlerFactory
- extends Object
- implements ChannelHandlerFactory
A ChannelHandlerFactory
returning a shareable ChannelHandler
.
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShareableChannelHandlerFactory
public ShareableChannelHandlerFactory(org.jboss.netty.channel.ChannelHandler channelHandler)
newChannelHandler
public org.jboss.netty.channel.ChannelHandler newChannelHandler()
- Description copied from interface:
ChannelHandlerFactory
- Creates a new
ChannelHandler
to be used.
- Specified by:
newChannelHandler
in interface ChannelHandlerFactory
Apache Camel