Package org.dcache.xrootd.plugins
Interface ChannelHandlerProvider
-
- All Known Implementing Classes:
TLSHandlerProvider,XrootdAuthenticationHandlerProvider,XrootdAuthorizationHandlerProvider
public interface ChannelHandlerProviderA factory loader class for ChannelHandlerFactory. Implementations of this interface are usually obtained through Java's ServiceLoader mechanism.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChannelHandlerFactorycreateFactory(java.lang.String plugin, java.util.Properties properties)Creates and returns a new ChannelHandlerFactory.
-
-
-
Method Detail
-
createFactory
ChannelHandlerFactory createFactory(java.lang.String plugin, java.util.Properties properties) throws java.lang.Exception
Creates and returns a new ChannelHandlerFactory.- Parameters:
plugin- name identifying a particular type of ChannelHandlerFactoryproperties- configuration values- Returns:
- ChannelHandlerFactory instance or null if the provider does not provide a matching ChannelHandlerFactory
- Throws:
java.lang.Exception
-
-