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>
AChannelFactorythat instantiates a newChannelby 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:ChannelFactoryCreates a new channel.- Specified by:
newChannelin interfaceChannelFactory<T extends Channel>- Specified by:
newChannelin interfaceChannelFactory<T extends Channel>
-
-