Package com.hazelcast.config
Class SSLConfig
- java.lang.Object
-
- com.hazelcast.config.AbstractFactoryWithPropertiesConfig<SSLConfig>
-
- com.hazelcast.config.SSLConfig
-
public final class SSLConfig extends AbstractFactoryWithPropertiesConfig<SSLConfig>
SSL configuration.
-
-
Field Summary
-
Fields inherited from class com.hazelcast.config.AbstractFactoryWithPropertiesConfig
enabled, factoryClassName, properties
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.Object
getFactoryImplementation()
Returns the factory implementation object.int
hashCode()
protected SSLConfig
self()
SSLConfig
setFactoryClassName(java.lang.String factoryClassName)
Sets the name for the implementation class.SSLConfig
setFactoryImplementation(java.lang.Object factoryImplementation)
Sets the implementation object.java.lang.String
toString()
-
Methods inherited from class com.hazelcast.config.AbstractFactoryWithPropertiesConfig
getFactoryClassName, getProperties, getProperty, isEnabled, setEnabled, setProperties, setProperty
-
-
-
-
Constructor Detail
-
SSLConfig
public SSLConfig()
-
SSLConfig
public SSLConfig(SSLConfig sslConfig)
-
-
Method Detail
-
setFactoryClassName
public SSLConfig setFactoryClassName(@Nonnull java.lang.String factoryClassName)
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
public SSLConfig setFactoryImplementation(@Nonnull java.lang.Object factoryImplementation)
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
public java.lang.Object 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
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
-
self
protected SSLConfig self()
- Specified by:
self
in classAbstractFactoryWithPropertiesConfig<SSLConfig>
-
-