Add @Sharable annotation to ChannelInitializer

This commit is contained in:
Trustin Lee 2012-05-31 17:05:34 -07:00
parent f2eddda5a4
commit 5243d3d0f0

View File

@ -1,8 +1,10 @@
package io.netty.channel;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.logging.InternalLogger;
import io.netty.logging.InternalLoggerFactory;
@Sharable
public abstract class ChannelInitializer<C extends Channel> extends ChannelInboundHandlerAdapter<Object> {
private static final InternalLogger logger = InternalLoggerFactory.getInstance(ChannelInitializer.class);