public class ReflectiveChannelFactory<T extends Channel> extends Object implements ChannelFactory<T>
ChannelFactory
that instantiates a new Channel
by invoking its default constructor reflectively.Constructor and Description |
---|
ReflectiveChannelFactory(Class<? extends T> clazz) |
public T newChannel()
ChannelFactory
newChannel
in interface ChannelFactory<T extends Channel>
Copyright © 2008–2015 The Netty Project. All rights reserved.