public enum BuiltinIoServiceFactoryFactories extends java.lang.Enum<BuiltinIoServiceFactoryFactories> implements NamedFactory<IoServiceFactoryFactory>, OptionalFeature
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends IoServiceFactoryFactory> |
factoryClass |
private java.lang.String |
factoryClassName |
static java.util.Set<BuiltinIoServiceFactoryFactories> |
VALUES |
BY_NAME_COMPARATOR, NAME_EXTRACTOR
FALSE, TRUE
Modifier and Type | Method and Description |
---|---|
IoServiceFactoryFactory |
create() |
static BuiltinIoServiceFactoryFactories |
fromFactoryClass(java.lang.Class<?> clazz) |
static BuiltinIoServiceFactoryFactories |
fromFactoryName(java.lang.String name) |
java.lang.Class<? extends IoServiceFactoryFactory> |
getFactoryClass() |
java.lang.String |
getFactoryClassName() |
java.lang.String |
getName() |
boolean |
isSupported() |
static BuiltinIoServiceFactoryFactories |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BuiltinIoServiceFactoryFactories[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
create, setUpBuiltinFactories, setUpTransformedFactories
findByName, getNameList, getNames, removeByName
all, any, of
public static final BuiltinIoServiceFactoryFactories NIO2
public static final BuiltinIoServiceFactoryFactories MINA
public static final BuiltinIoServiceFactoryFactories NETTY
public static final java.util.Set<BuiltinIoServiceFactoryFactories> VALUES
private final java.lang.Class<? extends IoServiceFactoryFactory> factoryClass
private final java.lang.String factoryClassName
public static BuiltinIoServiceFactoryFactories[] values()
for (BuiltinIoServiceFactoryFactories c : BuiltinIoServiceFactoryFactories.values()) System.out.println(c);
public static BuiltinIoServiceFactoryFactories valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final java.lang.String getFactoryClassName()
public final java.lang.Class<? extends IoServiceFactoryFactory> getFactoryClass()
public final java.lang.String getName()
getName
in interface NamedResource
public final IoServiceFactoryFactory create()
create
in interface Factory<IoServiceFactoryFactory>
public boolean isSupported()
isSupported
in interface OptionalFeature
public static BuiltinIoServiceFactoryFactories fromFactoryName(java.lang.String name)
public static BuiltinIoServiceFactoryFactories fromFactoryClass(java.lang.Class<?> clazz)