Package com.hazelcast.config
Class SSLConfig
public final class SSLConfig extends AbstractFactoryWithPropertiesConfig<SSLConfig>
SSL configuration.
-
Field Summary
Fields inherited from class com.hazelcast.config.AbstractFactoryWithPropertiesConfig
enabled, factoryClassName, properties
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Object
getFactoryImplementation()
Returns the factory implementation object.int
hashCode()
protected SSLConfig
self()
SSLConfig
setFactoryClassName(String factoryClassName)
Sets the name for the implementation class.SSLConfig
setFactoryImplementation(Object factoryImplementation)
Sets the implementation object.String
toString()
Methods inherited from class com.hazelcast.config.AbstractFactoryWithPropertiesConfig
getFactoryClassName, getProperties, getProperty, isEnabled, setEnabled, setProperties, setProperty
-
Constructor Details
-
Method Details
-
setFactoryClassName
Sets the name for the implementation class.Class can either be an
SSLContextFactory
orcom.hazelcast.nio.ssl.SSLEngineFactory
(Enterprise edition).- Overrides:
setFactoryClassName
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
- Parameters:
factoryClassName
- the name implementation class
-
setFactoryImplementation
Sets the implementation object.Object must be instance of an
SSLContextFactory
orcom.hazelcast.nio.ssl.SSLEngineFactory
(Enterprise edition).- Parameters:
factoryImplementation
- the implementation object- Returns:
- this SSLConfig instance
-
getFactoryImplementation
Returns the factory implementation object.Object is instance of an
SSLContextFactory
orcom.hazelcast.nio.ssl.SSLEngineFactory
(Enterprise edition).- Returns:
- the factory implementation object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
-
equals
- Overrides:
equals
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
-
toString
- Overrides:
toString
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
-
self
- Specified by:
self
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
-