Package io.netty.channel
Class ReflectiveChannelFactory<T extends Channel>
- java.lang.Object
-
- io.netty.channel.ReflectiveChannelFactory<T>
-
- All Implemented Interfaces:
ChannelFactory<T>
,ChannelFactory<T>
public class ReflectiveChannelFactory<T extends Channel> extends Object implements ChannelFactory<T>
AChannelFactory
that instantiates a newChannel
by invoking its default constructor reflectively.
-
-
Constructor Summary
Constructors Constructor Description ReflectiveChannelFactory(Class<? extends T> clazz)
-
-
-
Method Detail
-
newChannel
public T newChannel()
Description copied from interface:ChannelFactory
Creates a new channel.- Specified by:
newChannel
in interfaceChannelFactory<T extends Channel>
- Specified by:
newChannel
in interfaceChannelFactory<T extends Channel>
-
-