Package org.apache.sshd.common.io
Enum BuiltinIoServiceFactoryFactories
- java.lang.Object
-
- java.lang.Enum<BuiltinIoServiceFactoryFactories>
-
- org.apache.sshd.common.io.BuiltinIoServiceFactoryFactories
-
- All Implemented Interfaces:
Serializable
,Comparable<BuiltinIoServiceFactoryFactories>
,Supplier<IoServiceFactoryFactory>
,Factory<IoServiceFactoryFactory>
,NamedFactory<IoServiceFactoryFactory>
,NamedResource
,OptionalFeature
public enum BuiltinIoServiceFactoryFactories extends Enum<BuiltinIoServiceFactoryFactories> implements NamedFactory<IoServiceFactoryFactory>, OptionalFeature
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static Set<BuiltinIoServiceFactoryFactories>
VALUES
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
Fields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IoServiceFactoryFactory
create()
static BuiltinIoServiceFactoryFactories
fromFactoryClass(Class<?> clazz)
static BuiltinIoServiceFactoryFactories
fromFactoryName(String name)
Class<? extends IoServiceFactoryFactory>
getFactoryClass()
String
getFactoryClassName()
String
getName()
boolean
isSupported()
static BuiltinIoServiceFactoryFactories
valueOf(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.
-
-
-
Enum Constant Detail
-
NIO2
public static final BuiltinIoServiceFactoryFactories NIO2
-
MINA
public static final BuiltinIoServiceFactoryFactories MINA
-
NETTY
public static final BuiltinIoServiceFactoryFactories NETTY
-
-
Field Detail
-
VALUES
public static final Set<BuiltinIoServiceFactoryFactories> VALUES
-
-
Method Detail
-
values
public static BuiltinIoServiceFactoryFactories[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BuiltinIoServiceFactoryFactories c : BuiltinIoServiceFactoryFactories.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BuiltinIoServiceFactoryFactories valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFactoryClassName
public final String getFactoryClassName()
-
getFactoryClass
public final Class<? extends IoServiceFactoryFactory> getFactoryClass()
-
getName
public final String getName()
- Specified by:
getName
in interfaceNamedResource
-
create
public final IoServiceFactoryFactory create()
- Specified by:
create
in interfaceFactory<IoServiceFactoryFactory>
-
isSupported
public boolean isSupported()
- Specified by:
isSupported
in interfaceOptionalFeature
-
fromFactoryName
public static BuiltinIoServiceFactoryFactories fromFactoryName(String name)
-
fromFactoryClass
public static BuiltinIoServiceFactoryFactories fromFactoryClass(Class<?> clazz)
-
-