org.apache.camel.component.netty
Class ShareableChannelHandlerFactory

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler
org.jboss.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
ShareableChannelHandlerFactory(org.jboss.netty.channel.ChannelHandler channelHandler)
           
 
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
 

Constructor Detail

ShareableChannelHandlerFactory

public ShareableChannelHandlerFactory(org.jboss.netty.channel.ChannelHandler channelHandler)
Method Detail

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