public class ReflectiveChannelFactory<T extends Channel> extends java.lang.Object implements ChannelFactory<T>
ChannelFactory
that instantiates a new Channel
by invoking its default constructor reflectively.构造器和说明 |
---|
ReflectiveChannelFactory(java.lang.Class<? extends T> clazz) |
限定符和类型 | 方法和说明 |
---|---|
T |
newChannel()
Creates a new channel.
|
java.lang.String |
toString() |
public ReflectiveChannelFactory(java.lang.Class<? extends T> clazz)
public T newChannel()
ChannelFactory
newChannel
在接口中 ChannelFactory<T extends Channel>
public java.lang.String toString()
toString
在类中 java.lang.Object