com.hazelcast.config
Class SSLConfig

java.lang.Object
  extended by com.hazelcast.config.SSLConfig

public final class SSLConfig
extends Object

SSL configuration


Constructor Summary
SSLConfig()
           
 
Method Summary
 String getFactoryClassName()
          Returns the name of the com.hazelcast.nio.ssl.SSLContextFactory implementation class
 Object getFactoryImplementation()
          Returns the com.hazelcast.nio.ssl.SSLContextFactory implementation object
 Properties getProperties()
           
 String getProperty(String name)
           
 boolean isEnabled()
          Returns if this configuration is enabled
 SSLConfig setEnabled(boolean enabled)
          Enables and disables this configuration
 SSLConfig setFactoryClassName(String factoryClassName)
          Sets the name for the com.hazelcast.nio.ssl.SSLContextFactory implementation class
 SSLConfig setFactoryImplementation(Object factoryImplementation)
          Sets the com.hazelcast.nio.ssl.SSLContextFactory implementation object
 void setProperties(Properties properties)
           
 SSLConfig setProperty(String name, String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSLConfig

public SSLConfig()
Method Detail

getFactoryClassName

public String getFactoryClassName()
Returns the name of the com.hazelcast.nio.ssl.SSLContextFactory implementation class

Returns:
the name of the class

setFactoryClassName

public SSLConfig setFactoryClassName(String factoryClassName)
Sets the name for the com.hazelcast.nio.ssl.SSLContextFactory implementation class

Parameters:
factoryClassName - the name of the com.hazelcast.nio.ssl.SSLContextFactory implementation class to set

isEnabled

public boolean isEnabled()
Returns if this configuration is enabled

Returns:
true if enabled, false otherwise

setEnabled

public SSLConfig setEnabled(boolean enabled)
Enables and disables this configuration

Parameters:
enabled -

setFactoryImplementation

public SSLConfig setFactoryImplementation(Object factoryImplementation)
Sets the com.hazelcast.nio.ssl.SSLContextFactory implementation object

Parameters:
factoryImplementation - factory implementation object
Returns:
this SSLConfig instance

getFactoryImplementation

public Object getFactoryImplementation()
Returns the com.hazelcast.nio.ssl.SSLContextFactory implementation object

Returns:
com.hazelcast.nio.ssl.SSLContextFactory implementation object

setProperty

public SSLConfig setProperty(String name,
                             String value)

getProperty

public String getProperty(String name)

getProperties

public Properties getProperties()

setProperties

public void setProperties(Properties properties)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.