Package org.apache.sshd.common.io
Class DefaultIoServiceFactoryFactory
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.io.AbstractIoServiceFactoryFactory
org.apache.sshd.common.io.DefaultIoServiceFactoryFactory
- All Implemented Interfaces:
IoServiceFactoryFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IoServiceFactoryFactory
private static final org.slf4j.Logger
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(FactoryManager manager) static <T extends IoServiceFactoryFactory>
TnewInstance
(Class<? extends T> clazz, String factory) static <T extends IoServiceFactoryFactory>
TnewInstance
(Class<T> clazz) static <T extends IoServiceFactoryFactory>
TtryLoad
(String propName, ServiceLoader<T> loader) Methods inherited from class org.apache.sshd.common.io.AbstractIoServiceFactoryFactory
getExecutorServiceFactory, newExecutor, setExecutorServiceFactory
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
factory
-
-
Constructor Details
-
DefaultIoServiceFactoryFactory
protected DefaultIoServiceFactoryFactory() -
DefaultIoServiceFactoryFactory
-
-
Method Details
-
create
-
getIoServiceProvider
- Returns:
- The actual
IoServiceFactoryFactory
being delegated
-
newInstance
-
tryLoad
public static <T extends IoServiceFactoryFactory> T tryLoad(String propName, ServiceLoader<T> loader) -
newInstance
public static <T extends IoServiceFactoryFactory> T newInstance(Class<? extends T> clazz, String factory) -
getDefaultIoServiceFactoryFactoryInstance
-